Skip to content

Commit

Permalink
Merge pull request #45912 from nicksardo/gce-src-ip-dedupe
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874)

[GCE] Removed duplicate CIDR

**What this PR does / why we need it**:
Removes a duplicate CIDR in the list of LB source CIDRs.
https://cloud.google.com/compute/docs/load-balancing/network/ and https://cloud.google.com/compute/docs/load-balancing/http/ both list `35.191.0.0/16`.  Only one is needed.

**Release note**:

```release-note
NONE
```
  • Loading branch information
Kubernetes Submit Queue committed May 17, 2017
2 parents b059116 + 908bcc3 commit bcf5837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/gce/gce_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func newAddressMetricContext(request, region string) *metricContext {

func init() {
var err error
lbSrcRngsFlag.ipn, err = netsets.ParseIPNets([]string{"130.211.0.0/22", "35.191.0.0/16", "209.85.152.0/22", "209.85.204.0/22", "35.191.0.0/16"}...)
lbSrcRngsFlag.ipn, err = netsets.ParseIPNets([]string{"130.211.0.0/22", "35.191.0.0/16", "209.85.152.0/22", "209.85.204.0/22"}...)
if err != nil {
panic("Incorrect default GCE L7 source ranges")
}
Expand Down

0 comments on commit bcf5837

Please sign in to comment.