chore: make deprecation notice more readable
This commit is contained in:
@@ -543,10 +543,10 @@ func injectDokkuScale(appName string, image string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if appJSON.Formation == nil {
|
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)
|
appJSON.Formation = make(map[string]Formation)
|
||||||
} else {
|
} 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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user