Skip to content

Commit 333c580

Browse files
authored
Merge pull request #4290 from 38tter/fix-tiny-nits
Fix nits
2 parents d77461c + a6d65ea commit 333c580

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
@@ -371,7 +371,7 @@ func parse(flags *pflag.FlagSet, copts *containerOptions, serverOS string) (*con
371371
var binds []string
372372
volumes := copts.volumes.GetMap()
373373
// add any bind targets to the list of container volumes
374-
for bind := range copts.volumes.GetMap() {
374+
for bind := range volumes {
375375
parsed, err := volumespec.Parse(bind)
376376
if err != nil {
377377
return nil, err

0 commit comments

Comments
 (0)