diff --git a/pkg/config/app.go b/pkg/config/app.go index b246f47c9..c9143bd07 100644 --- a/pkg/config/app.go +++ b/pkg/config/app.go @@ -46,7 +46,7 @@ type App struct { // StackName gets what the docker safe stack name is for the app func (a App) StackName() string { - if a.Env["STACK_NAME"] != "" { + if _, exists := a.Env["STACK_NAME"]; exists { return a.Env["STACK_NAME"] } return SanitiseAppName(a.Name)