Skip to content

Commit

Permalink
Remove with labels
Browse files Browse the repository at this point in the history
  • Loading branch information
barchw committed Feb 4, 2025
1 parent 24af56c commit 7a9c4bc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/builders/istio.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ func (ap *AuthorizationPolicyBuilder) WithLabel(key, val string) *AuthorizationP
return ap
}

func (ap *AuthorizationPolicyBuilder) WithLabels(labels map[string]string) *AuthorizationPolicyBuilder {
for k, v := range labels {
ap.value.Labels[k] = v
}
return ap
}

func (ap *AuthorizationPolicyBuilder) WithSpec(val *v1beta1.AuthorizationPolicy) *AuthorizationPolicyBuilder {
ap.value.Spec = *val.DeepCopy()
return ap
Expand Down

0 comments on commit 7a9c4bc

Please sign in to comment.