fix: move log message to correct location

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-18 12:28:12 -05:00
parent 702e9cf66c
commit 44ce5c76ae

View File

@@ -298,8 +298,8 @@ func readScaleFile(appName string) (map[string]int, error) {
scale[processType] = count
}
common.LogWarn("No valid entries found in scale file, defaulting to web=1")
if len(scale) == 0 {
common.LogWarn("No valid entries found in scale file, defaulting to web=1")
scale["web"] = 1
}