make some snippet content configurable - fix error
This commit is contained in:
@@ -15,7 +15,7 @@ func getConfigFromEnv(string item) {
|
|||||||
if value == "" {
|
if value == "" {
|
||||||
value = "ADDRESS,INITIALCOST,MONTHLYCOST"
|
value = "ADDRESS,INITIALCOST,MONTHLYCOST"
|
||||||
}
|
}
|
||||||
configarr = strings.Split(value, ',')
|
configarr = strings.Split(value, ",")
|
||||||
if len(configarr) < 3 {
|
if len(configarr) < 3 {
|
||||||
logit("CONFIG_ENVVAR has less than 3 elements")
|
logit("CONFIG_ENVVAR has less than 3 elements")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user