mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
[Bugfix] duplicating flag registration (#7853)
This commit is contained in:
committed by
kannappanr
parent
c43f745449
commit
09103991ea
+1
-1
@@ -48,7 +48,7 @@ var (
|
||||
|
||||
// RegisterGatewayCommand registers a new command for gateway.
|
||||
func RegisterGatewayCommand(cmd cli.Command) error {
|
||||
cmd.Flags = append(append(cmd.Flags, append(cmd.Flags, ServerFlags...)...), GlobalFlags...)
|
||||
cmd.Flags = append(append(cmd.Flags, ServerFlags...), GlobalFlags...)
|
||||
gatewayCmd.Subcommands = append(gatewayCmd.Subcommands, cmd)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user