Skip to content

Commit 3a62bf8

Browse files
committed
fix: lint
1 parent a1dbd1c commit 3a62bf8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/test-k8s-objects/objects.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ const (
2727
var (
2828
TestCAPath = filepath.Join("..", "data", "generate-crts", "ca.crt")
2929

30-
StorageTlsKeyPath = filepath.Join("..", "data", "storage.key")
31-
StorageTlsCrtPath = filepath.Join("..", "data", "storage.crt")
30+
StorageTLSKeyPath = filepath.Join("..", "data", "storage.key")
31+
StorageTLSCrtPath = filepath.Join("..", "data", "storage.crt")
3232

33-
DatabaseTlsKeyPath = filepath.Join("..", "data", "database.key")
34-
DatabaseTlsCrtPath = filepath.Join("..", "data", "database.crt")
33+
DatabaseTLSKeyPath = filepath.Join("..", "data", "database.key")
34+
DatabaseTLSCrtPath = filepath.Join("..", "data", "database.crt")
3535
)
3636

3737
func constructAntiAffinityFor(key, value string) *corev1.Affinity {
@@ -187,17 +187,17 @@ func DefaultDatabase() *v1alpha1.Database {
187187
func StorageCertificate() *corev1.Secret {
188188
return DefaultCertificate(
189189
StorageCertificateSecretName,
190-
StorageTlsCrtPath,
191-
StorageTlsKeyPath,
190+
StorageTLSCrtPath,
191+
StorageTLSKeyPath,
192192
TestCAPath,
193193
)
194194
}
195195

196196
func DatabaseCertificate() *corev1.Secret {
197197
return DefaultCertificate(
198198
DatabaseCertificateSecretName,
199-
DatabaseTlsCrtPath,
200-
DatabaseTlsKeyPath,
199+
DatabaseTLSCrtPath,
200+
DatabaseTLSKeyPath,
201201
TestCAPath,
202202
)
203203
}

0 commit comments

Comments
 (0)