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
2021-02-10 10:33:17 -05:00
committed by GitHub

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