Skip to content

Commit 7a8c2e8

Browse files
authored
Merge pull request #1268 from jichenjc/update_event
nit:make event to log for already associated FIP
2 parents c5ac70e + bdc9408 commit 7a8c2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloud/services/networking/floatingip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (s *Service) AssociateFloatingIP(eventObject runtime.Object, fp *floatingip
123123
s.scope.Logger.Info("Associating floating IP", "id", fp.ID, "ip", fp.FloatingIP)
124124

125125
if fp.PortID == portID {
126-
record.Eventf(eventObject, "SuccessfulAssociateFloatingIP", "Floating IP %s already associated with port %s", fp.FloatingIP, portID)
126+
s.scope.Logger.Info("Floating IP already associated:", "id", fp.ID, "ip", fp.FloatingIP)
127127
return nil
128128
}
129129

0 commit comments

Comments
 (0)