Merge pull request #7979 from dokku/7959-invalid-apps
This commit is contained in:
2 files changed
+7
-4
No files matched your search
@@ -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"})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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"})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user