diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index 27bb7fbf24..65a47771f5 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -994,7 +994,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions, _ = cmd.RegisterFlagCompletionFunc(blkioWeightFlagName, completion.AutocompleteNone) blkioWeightDeviceFlagName := "blkio-weight-device" - createFlags.StringSliceVar( + createFlags.StringArrayVar( &cf.BlkIOWeightDevice, blkioWeightDeviceFlagName, []string{}, "Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)",