From: Stefan Junker Date: Sat, 5 Sep 2015 16:58:58 +0000 (+0200) Subject: CNI_ARGS: use ';' to split args as documented X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=8b634b90da36217ac9ae5d7764a807bc10e27c23;p=plugins.git CNI_ARGS: use ';' to split args as documented --- diff --git a/pkg/plugin/args.go b/pkg/plugin/args.go index 8489579..274ec66 100644 --- a/pkg/plugin/args.go +++ b/pkg/plugin/args.go @@ -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 {