fix: directly write deployed property

The previous method ended up validating the app name when checking if the app was deployed or not, which isn't necessary as that should only be performed at the command-level.
This commit is contained in:
Jose Diaz-Gonzalez
2025-09-14 05:08:23 -04:00
parent 7e748a1cf3
commit 1c6927b25e
2 changed files with 2 additions and 4 deletions

View File

@@ -687,8 +687,7 @@ func IsDeployed(appName string) bool {
}
EnvWrap(func() error {
CommandPropertySet("common", appName, "deployed", deployed, DefaultProperties, GlobalProperties)
return nil
return PropertyWrite("common", appName, "deployed", deployed)
}, map[string]string{"DOKKU_QUIET_OUTPUT": "1"})
}