From a8a43812a041df941ea78b73c873e8e27e24cd7a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 1 Aug 2021 23:15:01 -0400 Subject: [PATCH] chore: make deprecation notice more readable --- plugins/app-json/functions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/app-json/functions.go b/plugins/app-json/functions.go index d6884f8e6..1a3c6dd7f 100644 --- a/plugins/app-json/functions.go +++ b/plugins/app-json/functions.go @@ -543,10 +543,10 @@ func injectDokkuScale(appName string, image string) error { } if appJSON.Formation == nil { - common.LogWarn("Deprecated: Use the 'formation' key in app.json to specify scaling instead of DOKKU_SCALE") + common.LogWarn("Deprecated: Injecting scale settings from DOKKU_SCALE file. Use the 'formation' key the app.json file to specify scaling instead of 'DOKKU_SCALE'.") appJSON.Formation = make(map[string]Formation) } else { - common.LogWarn("Deprecated: DOKKU_SCALE ignored in favor of 'formation' key in app.json") + common.LogWarn("Deprecated: DOKKU_SCALE ignored in favor of 'formation' key in the app.json") return nil }