diff --git a/internal/usecase/app-serve-app.go b/internal/usecase/app-serve-app.go index 501b4580..63eaee7b 100644 --- a/internal/usecase/app-serve-app.go +++ b/internal/usecase/app-serve-app.go @@ -110,7 +110,7 @@ func (u *AppServeAppUsecase) CreateAppServeApp(app *domain.AppServeApp) (string, } mJson, _ := json.Marshal(newExtEnv) - extEnv := string(mJson) + extEnv = string(mJson) log.Debug("After transform, extraEnv: ", extEnv) } @@ -401,7 +401,6 @@ func (u *AppServeAppUsecase) UpdateAppServeApp(app *domain.AppServeApp, appTask mJson, _ := json.Marshal(newExtEnv) extEnv = string(mJson) - log.Debug("After transform, extraEnv: ", extEnv) }