fix: drop -- when calling dokku run for cron-tab templating

Closes #6541
This commit is contained in:
Jose Diaz-Gonzalez
2024-01-29 12:26:38 -05:00
committed by GitHub
parent 2e66cee50f
commit 8ffb693105

View File

@@ -51,7 +51,7 @@ func (t TemplateCommand) CronCommand() string {
return t.AltCommand return t.AltCommand
} }
return fmt.Sprintf("dokku run --cron-id %s %s -- %s", t.ID, t.App, t.Command) return fmt.Sprintf("dokku run --cron-id %s %s %s", t.ID, t.App, t.Command)
} }
// FetchCronEntries returns a list of cron commands for a given app // FetchCronEntries returns a list of cron commands for a given app