Skip to content

Commit d9d4932

Browse files
benjaminjbcbandy
andauthored
Update internal/controller/postgrescluster/volumes.go
Co-authored-by: Chris Bandy <[email protected]>
1 parent f055390 commit d9d4932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/postgrescluster/volumes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ func (r *Reconciler) reconcileAdditionalVolumes(
919919
// observed *Instance,
920920
) (additionalVolumePVCs []*corev1.PersistentVolumeClaim, err error) {
921921

922-
if additionalVolumes == nil || len(additionalVolumes) == 0 {
922+
if len(additionalVolumes) == 0 {
923923
return
924924
}
925925

0 commit comments

Comments
 (0)