chore: update two more calls to fetch all apps

This commit is contained in:
Jose Diaz-Gonzalez
2022-02-26 02:41:21 -05:00
parent 5eced46f22
commit 90eb5462f7
2 changed files with 3 additions and 4 deletions

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
} }

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
} }