chore: update two more calls to fetch all apps

This commit is contained in:
Jose Diaz-Gonzalez committed 2022-02-26 02:41:21 -05:00
1 parent 5eced46f22
commit 90eb5462f7
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ func CommandSetProperty(appName string, property string, value string) error {
return common.PlugnTrigger("post-stack-set", []string{appName, value}...) return common.PlugnTrigger("post-stack-set", []string{appName, value}...)
} }
apps, err := common.DokkuApps() apps, err := apps.DokkuApps()
if err != nil { if err != nil {
return err return err
} }
+2 -3
View File
@@ -8,9 +8,8 @@ trigger-domains-install() {
declare trigger="install" declare trigger="install"
shopt -s nullglob shopt -s nullglob
for app in $DOKKU_ROOT/*/CONTAINER; do for app in $(dokku_apps); do
APP=$(basename "$(dirname "$app")") domains_setup "$app"
domains_setup "$APP"
done done
} }