Skip to content

Commit 81549d8

Browse files
committed
fixup! Remove outdated code
1 parent 77c55dc commit 81549d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/operator/construct/database_construction.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func buildDatabaseStatefulSetConfigurationFunction(mdb databaseStatefulSetSource
466466
appLabelKey: opts.ServiceName,
467467
}
468468

469-
annotationFunc := statefulset.WithAnnotations(defaultSatefulSetAnnotations(opts.CertificateHash))
469+
annotationFunc := statefulset.WithAnnotations(defaultStatefulSetAnnotations(opts.CertificateHash))
470470
podTemplateAnnotationFunc := podtemplatespec.NOOP()
471471

472472
annotationFunc = statefulset.Apply(
@@ -1057,7 +1057,7 @@ func DatabaseStartupProbe() probes.Modification {
10571057
)
10581058
}
10591059

1060-
func defaultSatefulSetAnnotations(certHash string) map[string]string {
1060+
func defaultStatefulSetAnnotations(certHash string) map[string]string {
10611061
return map[string]string{
10621062
certs.CertHashAnnotationKey: certHash,
10631063
}

0 commit comments

Comments
 (0)