From 44ce5c76aedd86e4ec0bc4e22b02c0ca52f5a2bb Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 18 Nov 2020 12:28:12 -0500 Subject: [PATCH] fix: move log message to correct location --- plugins/ps/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ps/functions.go b/plugins/ps/functions.go index d224e0810..35cd87939 100644 --- a/plugins/ps/functions.go +++ b/plugins/ps/functions.go @@ -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 }