We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 449adb0 commit 3220c93Copy full SHA for 3220c93
cmd/gateway/commands.go
@@ -458,9 +458,8 @@ func createSleepCommand() *cobra.Command {
458
return cmd
459
}
460
461
-func parseFlags(flags *pflag.FlagSet) (flagKeys, flagValues []string) {
462
- flagKeys = []string{}
463
- flagValues = []string{}
+func parseFlags(flags *pflag.FlagSet) ([]string, []string) {
+ var flagKeys, flagValues []string
464
465
flags.VisitAll(
466
func(flag *pflag.Flag) {
0 commit comments