diff --git a/plugins/common/common.go b/plugins/common/common.go index 4a3d24f7b..281ff39a9 100644 --- a/plugins/common/common.go +++ b/plugins/common/common.go @@ -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"}) } diff --git a/plugins/common/triggers.go b/plugins/common/triggers.go index 813a22d45..2c10767da 100644 --- a/plugins/common/triggers.go +++ b/plugins/common/triggers.go @@ -23,8 +23,7 @@ func TriggerAppList(filtered bool) error { // TriggerCorePostDeploy associates the container with a specified network func TriggerCorePostDeploy(appName string) error { return EnvWrap(func() error { - CommandPropertySet("common", appName, "deployed", "true", DefaultProperties, GlobalProperties) - return nil + return PropertyWrite("common", appName, "deployed", "true") }, map[string]string{"DOKKU_QUIET_OUTPUT": "1"}) }