fix: move log message to correct location
This commit is contained in:
1 parent
702e9cf66c
commit
44ce5c76ae
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user