You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r.Recorder.Eventf(bd.GetObject(), corev1.EventTypeNormal, "PortBindingRemoved", "lb %q not exists, remove port binding (lbPort:%s protocol:%s)", binding.LoadbalancerId, binding.LoadbalancerPort, binding.Protocol)
243
+
returnnil, nil
244
+
}
245
+
246
+
removeReason:=""
247
+
removeMsg:=""
248
+
240
249
// 确保关联的 pool 无误
241
250
pool:=portpool.Allocator.GetPool(binding.Pool)
242
-
ifpool==nil { // 端口池不存在,移除 binding 并并记录事件
243
-
r.Recorder.Event(bd.GetObject(), corev1.EventTypeWarning, "PortPoolDeleted", fmt.Sprintf("port pool has been deleted (%s/%s/%d)", binding.Pool, binding.LoadbalancerId, binding.LoadbalancerPort))
0 commit comments