Merge pull request #4394 from dokku/fix-custom-shell

Swap order of arguments on config-get call
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2021-02-10 10:33:17 -05:00
commit a6aef82236
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ func getDokkuAppShell(appName string) string {
return nil return nil
}) })
errs.Go(func() error { errs.Go(func() error {
b, _ := common.PlugnTriggerOutput("config-get", []string{"DOKKU_APP_SHELL", appName}...) b, _ := common.PlugnTriggerOutput("config-get", []string{appName, "DOKKU_APP_SHELL"}...)
appShell = strings.TrimSpace(string(b[:])) appShell = strings.TrimSpace(string(b[:]))
return nil return nil
}) })