Skip to content

Commit ef5baab

Browse files
authored
Merge pull request #3949 from Skarlso/fix-slight-misformatting
Fix String function receiver for IngressRule which resulted in an unreadable log output
2 parents d2f648f + 069fa35 commit ef5baab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta2/network_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ type IngressRule struct {
549549
}
550550

551551
// String returns a string representation of the ingress rule.
552-
func (i *IngressRule) String() string {
552+
func (i IngressRule) String() string {
553553
return fmt.Sprintf("protocol=%s/range=[%d-%d]/description=%s", i.Protocol, i.FromPort, i.ToPort, i.Description)
554554
}
555555

0 commit comments

Comments
 (0)