Merge pull request #51 from steveeJ/plugins-args

CNI_ARGS: use ';' to split args as documented
This commit is contained in:
Stefan Junker 2015-09-05 19:00:53 +02:00
commit ef820646c5

View File

@ -14,7 +14,7 @@ func LoadArgs(args string, container interface{}) error {
containerValue := reflect.ValueOf(container)
pairs := strings.Split(args, ",")
pairs := strings.Split(args, ";")
for _, pair := range pairs {
kv := strings.Split(pair, "=")
if len(kv) != 2 {