Skip to content

Commit

Permalink
fix: lint caught bug
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Oct 7, 2024
1 parent e6f4439 commit 8188ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/generated_key/memstore/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func CLIFlags(envPrefix, category string) []cli.Flag {
return fmt.Errorf("env var %s is deprecated for flag %s, use %s instead",
withDeprecatedEnvPrefix(envPrefix, "ENABLED"),
EnabledFlagName,
withEnvPrefix(envPrefix, "ENABLED")[0])
withEnvPrefix(envPrefix, "ENABLED"))
}
return nil
},
Expand All @@ -60,7 +60,7 @@ func CLIFlags(envPrefix, category string) []cli.Flag {
return fmt.Errorf("env var %s is deprecated for flag %s, use %s instead",
withDeprecatedEnvPrefix(envPrefix, "EXPIRATION"),
ExpirationFlagName,
withEnvPrefix(envPrefix, "EXPIRATION")[0])
withEnvPrefix(envPrefix, "EXPIRATION"))
}
return nil
},
Expand Down

0 comments on commit 8188ddf

Please sign in to comment.