mirror of
https://github.com/rancher/plugins.git
synced 2025-07-13 15:04:03 +00:00
CNI_ARGS: use ';' to split args as documented
This commit is contained in:
parent
fbd828cf60
commit
8b634b90da
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user