File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const (
3131 CLBBindingStateNoPortAvailable CLBBindingState = "NoPortAvailable"
3232 CLBBindingStateDeleting CLBBindingState = "Deleting"
3333 CLBBindingStatePortPoolNotAllocatable CLBBindingState = "PortPoolNotAllocatable"
34+ CLBBindingStateAllocated CLBBindingState = "Allocated"
3435)
3536
3637// CLBBindingStatus defines the observed state of CLBPodBinding.
Original file line number Diff line number Diff line change @@ -655,6 +655,7 @@ LOOP_PORT:
655655 return nil
656656 }
657657 // 将已分配的端口写入 status
658+ status .State = networkingv1alpha1 .CLBBindingStateAllocated
658659 clbbinding .SortPortBindings (status .PortBindings )
659660 if err := r .Status ().Update (ctx , bd .GetObject ()); err != nil {
660661 // 更新状态失败,释放已分配端口
You can’t perform that action at this time.
0 commit comments