mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
Changed sep , into
This commit is contained in:
committed by
Dan Christian Bogos
parent
622d01a56b
commit
f0918ce4e1
@@ -186,7 +186,7 @@ func (fWp FlagParams) Add(opts []string) {
|
||||
default: // just in case we call this function with more elements than needed
|
||||
fallthrough
|
||||
case 2:
|
||||
fWp[opts[0]] = InfieldSplit(opts[1])
|
||||
fWp[opts[0]] = strings.Split(opts[1], ANDSep)
|
||||
}
|
||||
return
|
||||
}
|
||||
@@ -264,7 +264,7 @@ func (fWp FlagsWithParams) SliceFlags() (sls []string) {
|
||||
sls = append(sls, ConcatenatedKey(key, opt))
|
||||
continue
|
||||
}
|
||||
sls = append(sls, ConcatenatedKey(key, opt, strings.Join(values, InfieldSep)))
|
||||
sls = append(sls, ConcatenatedKey(key, opt, strings.Join(values, ANDSep)))
|
||||
}
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user