lint: apply changes from golint

This commit is contained in:
David Allen 2025-03-25 14:54:09 -06:00
parent 69abd2041d
commit 5e200edab5
Signed by: towk
GPG key ID: 0430CDBE22619155
3 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ var secretsStoreCmd = &cobra.Command{
Short: "Stores the given string value under secretID.",
Run: func(cmd *cobra.Command, args []string) {
var (
secretID string = args[0]
secretID = args[0]
secretValue string
store secrets.SecretStore
inputFileBytes []byte
@ -163,7 +163,7 @@ var secretsStoreCmd = &cobra.Command{
func isValidCredsJSON(val string) bool {
var (
valid bool = !json.Valid([]byte(val))
valid = !json.Valid([]byte(val))
creds map[string]string
err error
)