Skip to content

Commit 2c8a40e

Browse files
Update internal/controller/postgrescluster/instance.go
Co-authored-by: Drew Sessler <[email protected]>
1 parent cedf6b4 commit 2c8a40e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controller/postgrescluster/instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,8 +1258,8 @@ func (r *Reconciler) reconcileInstance(
12581258
missingContainers := addAdditionalVolumesToSpecifiedContainers(&instance.Spec.Template, spec.Volumes.Additional)
12591259

12601260
if len(missingContainers) > 0 {
1261-
r.Recorder.Eventf(cluster, corev1.EventTypeWarning, "MissingContainers",
1262-
"The following containers were specified for additional volumes but are missing: %s.", missingContainers)
1261+
r.Recorder.Eventf(cluster, corev1.EventTypeWarning, "SpecifiedContainerNotFound",
1262+
"The following containers were specified for additional volumes but cannot be found: %s.", missingContainers)
12631263
}
12641264
}
12651265

0 commit comments

Comments
 (0)