We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba4fa32 + 535d9cc commit 96df20cCopy full SHA for 96df20c
1 file changed
cmd/ctr/commands/run/run.go
@@ -63,8 +63,8 @@ func parseMountFlag(m string) (specs.Mount, error) {
63
}
64
65
for _, field := range fields {
66
- v := strings.Split(field, "=")
67
- if len(v) != 2 {
+ v := strings.SplitN(field, "=", 2)
+ if len(v) < 2 {
68
return mount, fmt.Errorf("invalid mount specification: expected key=val")
69
70
0 commit comments