File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
internal/framework/controller/predicate Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ func (ServiceChangedPredicate) Update(e event.UpdateEvent) bool {
50
50
newPortSet := make (map [portInfo ]struct {})
51
51
52
52
for i := range len (oldSvc .Spec .Ports ) {
53
- var oldAppProtocol , newAppProtocl string
53
+ var oldAppProtocol , newAppProtocol string
54
54
55
55
if oldPorts [i ].AppProtocol != nil {
56
56
oldAppProtocol = * oldPorts [i ].AppProtocol
57
57
}
58
58
59
59
if newPorts [i ].AppProtocol != nil {
60
- newAppProtocl = * newPorts [i ].AppProtocol
60
+ newAppProtocol = * newPorts [i ].AppProtocol
61
61
}
62
62
63
63
oldPortSet [portInfo {
@@ -68,7 +68,7 @@ func (ServiceChangedPredicate) Update(e event.UpdateEvent) bool {
68
68
newPortSet [portInfo {
69
69
servicePort : newPorts [i ].Port ,
70
70
targetPort : newPorts [i ].TargetPort ,
71
- appProtocol : newAppProtocl ,
71
+ appProtocol : newAppProtocol ,
72
72
}] = struct {}{}
73
73
}
74
74
You can’t perform that action at this time.
0 commit comments