Skip to content

Commit

Permalink
Merge pull request #3937 from arghya88/un-deprecate
Browse files Browse the repository at this point in the history
 ✨ Un-deprecate WithOwnedConditions and OwnedConditions
  • Loading branch information
k8s-ci-robot authored Nov 20, 2020
2 parents 6998088 + 0b10f5c commit ace4e24
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions util/patch/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ type HelperOptions struct {

// OwnedConditions defines condition types owned by the controller.
// In case of conflicts for the owned conditions, the patch helper will always use the value provided by the controller.
//
// DEPRECATED: Use ForceOverwriteConditions.
OwnedConditions []clusterv1.ConditionType
}

Expand All @@ -61,8 +59,6 @@ func (w WithStatusObservedGeneration) ApplyToHelper(in *HelperOptions) {

// WithOwnedConditions allows to define condition types owned by the controller.
// In case of conflicts for the owned conditions, the patch helper will always use the value provided by the controller.
//
// DEPRECATED: Use WithForceOverwriteConditions.
type WithOwnedConditions struct {
Conditions []clusterv1.ConditionType
}
Expand Down

0 comments on commit ace4e24

Please sign in to comment.