mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
[Bugfix] duplicating flag registration (#7853)
This commit is contained in:
committed by
kannappanr
parent
c43f745449
commit
09103991ea
@@ -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