mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 22:24:59 +08:00
apply golangci-lints
This commit is contained in:
parent
d5e0983eb9
commit
f57a556af4
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,6 @@ import (
|
|||
|
||||
"github.com/Mic92/sops-nix/pkgs/sops-install-secrets/sshkeys"
|
||||
agessh "github.com/Mic92/ssh-to-age"
|
||||
|
||||
"github.com/getsops/sops/v3/decrypt"
|
||||
"github.com/joho/godotenv"
|
||||
"github.com/mozilla-services/yaml"
|
||||
|
|
@ -886,7 +885,7 @@ func importSSHKeys(logcfg loggingConfig, keyPaths []string, gpgHome string) erro
|
|||
}
|
||||
|
||||
if logcfg.KeyImport {
|
||||
fmt.Printf("%s: Imported %s as GPG key with fingerprint %s\n", path.Base(os.Args[0]), p, hex.EncodeToString(gpgKey.PrimaryKey.Fingerprint[:]))
|
||||
fmt.Printf("%s: Imported %s as GPG key with fingerprint %s\n", path.Base(os.Args[0]), p, hex.EncodeToString(gpgKey.PrimaryKey.Fingerprint))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue