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}...)
}
apps, err := common.DokkuApps()
apps, err := apps.DokkuApps()
if err != nil {
return err
}

View File

@@ -8,9 +8,8 @@ trigger-domains-install() {
declare trigger="install"
shopt -s nullglob
for app in $DOKKU_ROOT/*/CONTAINER; do
APP=$(basename "$(dirname "$app")")
domains_setup "$APP"
for app in $(dokku_apps); do
domains_setup "$app"
done
}