Skip to content

Commit

Permalink
fix: remane LBModeNotDefault to LBModeDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 committed Dec 27, 2024
1 parent 8449947 commit 2b57c9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/agent/manager/loadbalancer/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ func (m *Manager) addLoadBalancer(svc *corev1.Service) error {
} else if lbm == "onearm" {
lbMode = api.LBModeOneArm
} else if lbm == "default" {
lbMode = api.LBModeNotDefault
lbMode = api.LBModeDefault
} else {
lbMode = api.LBModeNotSupported
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/lb.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type LbMode int32

const (
LBModeNotSupported = iota - 1
LBModeNotDefault
LBModeDefault
LBModeOneArm
LBModeFullNat
LBModeDsr
Expand Down

0 comments on commit 2b57c9c

Please sign in to comment.