fix: move log message to correct location

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-11-21 20:57:33 -05:00
1 parent 702e9cf66c
commit 44ce5c76ae
1 file changed
+1 -1
+1 -1
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
}