Skip to content

Commit 229a2d7

Browse files
Inclusivity changes for CloudStack - rename some offensive words/terms as appropriate, that are meaningful and inclusive. (#29)
* Inclusivity changes for CloudStack - rename some offensive words/terms as appropriate, that are meaningful and inclusive. - Renamed default git branch name from 'master' to 'main'. - Replaced whitelist and blacklist with allowlist and denylist respectively. * Reverted third party rename changes, and removed irrelevant comment
1 parent 7cf6d8f commit 229a2d7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GIT_COMMIT_SHORT=$(shell git rev-parse --short HEAD)
2121
GIT_TAG=$(shell git describe --abbrev=0 --tags 2>/dev/null || echo v0.0.0)
2222
GIT_IS_TAG=$(shell git describe --exact-match --abbrev=0 --tags 2>/dev/null || echo NOT_A_TAG)
2323
ifeq (${GIT_IS_TAG},NOT_A_TAG)
24-
GIT_VERSION?=$(patsubst v%,%,${GIT_TAG})-master+${GIT_COMMIT}
24+
GIT_VERSION?=$(patsubst v%,%,${GIT_TAG})-main+${GIT_COMMIT}
2525
else
2626
GIT_VERSION?=$(patsubst v%,%,${GIT_TAG})
2727
endif

cloudstack_loadbalancer.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ func (cs *CSCloud) EnsureLoadBalancer(ctx context.Context, clusterName string, s
121121

122122
klog.V(4).Infof("Load balancer %v is associated with IP %v", lb.name, lb.ipAddr)
123123

124-
// Fetch the IP whitelist from the spec if any
125-
//whitelist = service.Spec.LoadBalancerSourceRanges
126-
127124
for _, port := range service.Spec.Ports {
128125
// Construct the protocol name first, we need it a few times
129126
protocol := ProtocolFromServicePort(port, service.Annotations)

0 commit comments

Comments
 (0)