mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
chore: run gofmt
This commit is contained in:
parent
b9213c5fae
commit
63dc2c07a6
1 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ var secretsStoreCmd = &cobra.Command{
|
||||||
Short: "Stores the given string value under secretID.",
|
Short: "Stores the given string value under secretID.",
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
var (
|
var (
|
||||||
secretID string = args[0]
|
secretID = args[0]
|
||||||
secretValue string
|
secretValue string
|
||||||
store secrets.SecretStore
|
store secrets.SecretStore
|
||||||
inputFileBytes []byte
|
inputFileBytes []byte
|
||||||
|
|
@ -167,7 +167,7 @@ var secretsStoreCmd = &cobra.Command{
|
||||||
|
|
||||||
func isValidCredsJSON(val string) bool {
|
func isValidCredsJSON(val string) bool {
|
||||||
var (
|
var (
|
||||||
valid bool = !json.Valid([]byte(val))
|
valid = !json.Valid([]byte(val))
|
||||||
creds map[string]string
|
creds map[string]string
|
||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue