Skip to content

Commit 76edf68

Browse files
committed
Use type evaluate instead of patch
Follow upstream way to alter / detect changes on Cluster: - cloudnative-pg/plugin-barman-cloud#222 - https://pkg.go.dev/github.com/cloudnative-pg/cnpg-i/pkg/lifecycle#OperatorOperationType_Type
1 parent 863a268 commit 76edf68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/operator/lifecycle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (impl LifecycleImplementation) GetCapabilities(
5252
Type: lifecycle.OperatorOperationType_TYPE_CREATE,
5353
},
5454
{
55-
Type: lifecycle.OperatorOperationType_TYPE_PATCH,
55+
Type: lifecycle.OperatorOperationType_TYPE_EVALUATE,
5656
},
5757
},
5858
},

0 commit comments

Comments
 (0)