fix: move log message to correct location
This commit is contained in:
@@ -298,8 +298,8 @@ func readScaleFile(appName string) (map[string]int, error) {
|
|||||||
scale[processType] = count
|
scale[processType] = count
|
||||||
}
|
}
|
||||||
|
|
||||||
common.LogWarn("No valid entries found in scale file, defaulting to web=1")
|
|
||||||
if len(scale) == 0 {
|
if len(scale) == 0 {
|
||||||
|
common.LogWarn("No valid entries found in scale file, defaulting to web=1")
|
||||||
scale["web"] = 1
|
scale["web"] = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user