Skip to content

Commit a6d65ea

Browse files
38tterthaJeztah
authored andcommitted
Fix nits
Signed-off-by: Seiya Miyata <odradek38@gmail.com>
1 parent 2ea4dc1 commit a6d65ea

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)