Skip to content

Commit 66b24ba

Browse files
committed
chore: remove unused constants (#359)
1 parent 91a5e70 commit 66b24ba

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

internal/constants/constants.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44

55
package constants
66

7-
import "time"
8-
97
const (
10-
DefaultVcfApiCallTimeout = 2 * time.Minute
11-
128
ProviderName = "terraform-provider-vcf"
139

1410
// VcfTestUrl URL of a VCF instance, used for acceptance tests.
@@ -151,9 +147,6 @@ const (
151147
// VcfTestResourceCaCertificate used in vcf_external_certificate tests.
152148
VcfTestResourceCaCertificate = "VCF_TEST_RESOURCE_CA_CERTIFICATE"
153149

154-
// VcfTestResourceCertificateChain used in vcf_external_certificate tests.
155-
VcfTestResourceCertificateChain = "VCF_TEST_RESOURCE_CERTIFICATE_CHAIN"
156-
157150
// VcfTestEdgeClusterRootPass the root user password for the NSX manager.
158151
VcfTestEdgeClusterRootPass = "VCF_TEST_EDGE_CLUSTER_ROOT_PASS"
159152

@@ -175,9 +168,6 @@ const (
175168
// VcfTestComputeClusterId the identifier of the compute cluster that will contain the edge nodes.
176169
VcfTestComputeClusterId = "VCF_TEST_COMPUTE_CLUSTER_ID"
177170

178-
// VcfTestComputeClusterName the display name of the compute cluster that will contain the edge nodes.
179-
VcfTestComputeClusterName = "VCF_TEST_COMPUTE_CLUSTER_NAME"
180-
181171
// VcfTestVcenterFqdn the FQDN of the vcenter server.
182172
VcfTestVcenterFqdn = "VCF_TEST_VCENTER_FQDN"
183173

internal/credentials/constants.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const (
3535
)
3636

3737
const (
38-
AutorotateDays30 = 30
39-
AutorotateDays60 = 60
38+
AutorotateDays30 = 30
39+
4040
AutorotateDays90 = 90
4141
AutorotateDaysMax = AutorotateDays90
4242
AutoRotateDaysMin = 1

0 commit comments

Comments
 (0)