We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74acec6 commit 842ea58Copy full SHA for 842ea58
pkg/pr/apply.go
@@ -1,11 +1,11 @@
1
package pr
2
3
func Apply(template *PrTemplate) error {
4
- if err := applyUpdates(template.Spec.Updates, template.Context); err != nil {
+ if err := applyCreates(template.Spec.Creates, template.Context); err != nil {
5
return err
6
}
7
8
- if err := applyCreates(template.Spec.Creates, template.Context); err != nil {
+ if err := applyUpdates(template.Spec.Updates, template.Context); err != nil {
9
10
11
0 commit comments