git://git.halfball.org
/
plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1a0905
)
CNI_ARGS: use ';' to split args as documented
author
Stefan Junker
<mail@stefanjunker.de>
Sat, 5 Sep 2015 16:58:58 +0000
(18:58 +0200)
committer
Stefan Junker
<mail@stefanjunker.de>
Sat, 5 Sep 2015 16:58:58 +0000
(18:58 +0200)
plugin/args.go
patch
|
blob
|
history
diff --git
a/plugin/args.go
b/plugin/args.go
index
8489579
..
274ec66
100644
(file)
--- 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 {