Skip to content

Commit ed7802b

Browse files
committed
Remove unused vars/consts
Remove unused variables and constants detected by gopls but not reported by golangci-lint.
1 parent 43d7661 commit ed7802b

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

controllers/openstackcluster_controller.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ import (
6060
)
6161

6262
const (
63-
waitForBastionToReconcile = 15 * time.Second
64-
waitForOctaviaPortsCleanup = 15 * time.Second
63+
waitForBastionToReconcile = 15 * time.Second
6564
)
6665

6766
// OpenStackClusterReconciler reconciles a OpenStackCluster object.

pkg/cloud/services/loadbalancer/loadbalancer.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ import (
4545
const (
4646
networkPrefix string = "k8s-clusterapi"
4747
kubeapiLBSuffix string = "kubeapi"
48-
resolvedMsg string = "ControlPlaneEndpoint.Host is not an IP address, using the first resolved IP address"
4948
waitForOctaviaLBCleanup = 15 * time.Second
5049
)
5150

pkg/cloud/services/networking/securitygroups.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const (
3636
controlPlaneSuffix string = "controlplane"
3737
workerSuffix string = "worker"
3838
bastionSuffix string = "bastion"
39-
allNodesSuffix string = "allNodes"
4039
remoteGroupIDSelf string = "self"
4140
)
4241

0 commit comments

Comments
 (0)