Skip to content

Commit 8c9e2b3

Browse files
committed
Fix nits
Signed-off-by: Seiya Miyata <odradek38@gmail.com>
1 parent 935df5a commit 8c9e2b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/command/container/opts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ func parse(flags *pflag.FlagSet, copts *containerOptions, serverOS string) (*con
353353
var binds []string
354354
volumes := copts.volumes.GetMap()
355355
// add any bind targets to the list of container volumes
356-
for bind := range copts.volumes.GetMap() {
356+
for bind := range volumes {
357357
parsed, _ := loader.ParseVolume(bind)
358358

359359
if parsed.Source != "" {

0 commit comments

Comments
 (0)