From 5fdc7ec1e7561835f43e354c2d723129921de081 Mon Sep 17 00:00:00 2001 From: Sergey Dudoladov Date: Wed, 8 Apr 2020 07:37:37 +0200 Subject: [PATCH] fix comments/docs --- docs/reference/operator_parameters.md | 2 +- pkg/cluster/volumes.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/operator_parameters.md b/docs/reference/operator_parameters.md index 859d977e0..92cdf487d 100644 --- a/docs/reference/operator_parameters.md +++ b/docs/reference/operator_parameters.md @@ -138,7 +138,7 @@ Those are top-level keys, containing both leaf keys and groups. The default is `false`. * **enable_unused_pvc_deletion** - Tells the operator to delete persistent volume claims of no longer running pods. That removes respective persistent volumes because operator configures them with the 'Delete' reclaim policy. Note operator deletes unused PVCs for clusters created both before and after this option is turned on. Deletion is not guaranteed: When it fails, operator retries at next Sync() event. + Tells the operator to delete persistent volume claims of no longer running pods. That removes respective persistent volumes because the operator configures them with the 'Delete' reclaim policy. The operator deletes unused PVCs for clusters created both before and after this option is turned on. Deletion is not guaranteed: When it fails, operator retries at the next Sync() event. The default is `false`. ## Postgres users diff --git a/pkg/cluster/volumes.go b/pkg/cluster/volumes.go index 084bd2484..6f3332f5d 100644 --- a/pkg/cluster/volumes.go +++ b/pkg/cluster/volumes.go @@ -74,7 +74,7 @@ func (c *Cluster) deleteUnusedPersistentVolumeClaims() { break } c.logger.Warningf("could not delete PersistentVolumeClaim: %v", err) - // next Sync() or Update() will retry + // next Sync() will retry } }