mirror of
https://github.com/vmorganp/Lazytainer.git
synced 2026-01-03 19:34:53 +01:00
small fix
This commit is contained in:
@@ -110,7 +110,9 @@ func configureFromLabels() map[string]LazyGroup {
|
||||
ignoreActiveClients := false;
|
||||
labelValueAsString, exists = labels[prefix+groupName+".ignoreActiveClients"]
|
||||
if exists {
|
||||
netInterface = labelValueAsString
|
||||
val, err := strconv.ParseBool(labelValueAsString)
|
||||
check(err)
|
||||
ignoreActiveClients = val
|
||||
} else {
|
||||
debugLogger.Println("Using default ignoreActiveClients of false " + prefix + groupName + ".ignoreActiveClients was not set")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user