mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
lint: apply changes from golint
This commit is contained in:
parent
69abd2041d
commit
5e200edab5
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue