Skip to content

Commit

Permalink
Merge pull request #243 from gujingit/feature/vgroupid
Browse files Browse the repository at this point in the history
update vServerGroupId of http listener
  • Loading branch information
k8s-ci-robot authored Mar 3, 2021
2 parents 2194b6c + 1fbf7fd commit cf3535b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions cloud-controller-manager/listeners.go
Original file line number Diff line number Diff line change
Expand Up @@ -1092,14 +1092,11 @@ func (t *http) Update(ctx context.Context) error {
}
needUpdate := false
needRecreate := false
/*
if request.Bandwidth != 0 &&
request.Bandwidth != response.Bandwidth {
needUpdate = true
config.Bandwidth = request.Bandwidth
klog.V(2).Infof("HTTP listener checker [bandwidth] changed, request=%d. response=%d", request.Bandwidth, response.Bandwidth)
}
*/

if response.VServerGroupId != "" &&
response.VServerGroupId != config.VServerGroupId {
needUpdate = true
}
if request.AclStatus != "" &&
def.AclStatus != response.AclStatus {
needUpdate = true
Expand Down

0 comments on commit cf3535b

Please sign in to comment.