Merge pull request #7979 from dokku/7959-invalid-apps

This commit is contained in:
Jose Diaz-Gonzalez
2025-09-14 06:34:52 -04:00
committed by GitHub
2 changed files with 7 additions and 4 deletions

View File

@@ -640,6 +640,11 @@ func UnfilteredDokkuApps() ([]string, error) {
if strings.HasPrefix(f.Name(), ".") {
continue
}
// skip apps that start with an uppercase letter
if unicode.IsUpper(rune(f.Name()[0])) {
continue
}
apps = append(apps, f.Name())
}
@@ -682,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"})
}

View File

@@ -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"})
}