Skip to content

Commit

Permalink
replace template atlantis name with .ExecutableName
Browse files Browse the repository at this point in the history
  • Loading branch information
krrrr38 committed Jan 6, 2023
1 parent 382604d commit c1b8963
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions server/events/templates/multi_project_plan.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{{ if ne $disableApplyAll true }}---
{{end}}{{end}}{{ if ne .DisableApplyAll true }}{{ if and (gt (len .Results) 0) (not .PlansDeleted) }}* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* `{{ .ExecutableName }} apply`
* :put_litter_in_its_place: To delete all plans and locks for the PR, comment:
* `atlantis unlock`{{end}}{{end}}{{ template "log" . }}
* `{{ .ExecutableName }} unlock`{{end}}{{end}}{{ template "log" . }}
{{ end }}
4 changes: 2 additions & 2 deletions server/events/templates/single_project_plan_success.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{{ if ne .DisableApplyAll true }}---
* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `atlantis apply`
* `{{ .ExecutableName }} apply`
* :put_litter_in_its_place: To delete all plans and locks for the PR, comment:
* `atlantis unlock`{{ end }}{{ template "log" . }}
* `{{ .ExecutableName }} unlock`{{ end }}{{ template "log" . }}
{{ end }}
2 changes: 1 addition & 1 deletion server/events/templates/unwrapped_err.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{.Error}}
```{{ if eq .Command "Policy Check" }}
* :heavy_check_mark: To **approve** failing policies an authorized approver can comment:
* `atlantis approve_policies`
* `{{ .ExecutableName }} approve_policies`
* :repeat: Or, address the policy failure by modifying the codebase and re-planning.
{{ end }}
{{- end }}

0 comments on commit c1b8963

Please sign in to comment.