CNI_ARGS: use ';' to split args as documented

This commit is contained in:
Stefan Junker 2015-09-05 18:58:58 +02:00
parent fbd828cf60
commit 8b634b90da

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 {