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=169f8e0a5219e94f828024993b47204c018f5334;p=plugins.git CNI_ARGS: use ';' to split args as documented --- diff --git a/plugin/args.go b/plugin/args.go index 8489579..274ec66 100644 --- a/plugin/args.go +++ b/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 {