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

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2025-09-14 06:34:52 -04:00
commit 438c395970
2 files changed
+7 -4

No files matched your search

+6 -2
View File
@@ -640,6 +640,11 @@ func UnfilteredDokkuApps() ([]string, error) {
if strings.HasPrefix(f.Name(), ".") { if strings.HasPrefix(f.Name(), ".") {
continue continue
} }
// skip apps that start with an uppercase letter
if unicode.IsUpper(rune(f.Name()[0])) {
continue
}
apps = append(apps, f.Name()) apps = append(apps, f.Name())
} }
@@ -682,8 +687,7 @@ func IsDeployed(appName string) bool {
} }
EnvWrap(func() error { EnvWrap(func() error {
CommandPropertySet("common", appName, "deployed", deployed, DefaultProperties, GlobalProperties) return PropertyWrite("common", appName, "deployed", deployed)
return nil
}, map[string]string{"DOKKU_QUIET_OUTPUT": "1"}) }, map[string]string{"DOKKU_QUIET_OUTPUT": "1"})
} }
+1 -2
View File
@@ -23,8 +23,7 @@ func TriggerAppList(filtered bool) error {
// TriggerCorePostDeploy associates the container with a specified network // TriggerCorePostDeploy associates the container with a specified network
func TriggerCorePostDeploy(appName string) error { func TriggerCorePostDeploy(appName string) error {
return EnvWrap(func() error { return EnvWrap(func() error {
CommandPropertySet("common", appName, "deployed", "true", DefaultProperties, GlobalProperties) return PropertyWrite("common", appName, "deployed", "true")
return nil
}, map[string]string{"DOKKU_QUIET_OUTPUT": "1"}) }, map[string]string{"DOKKU_QUIET_OUTPUT": "1"})
} }