diff --git a/pkg/cluster/cluster.go b/pkg/cluster/cluster.go index 02a06cac2..5fa8d6b36 100644 --- a/pkg/cluster/cluster.go +++ b/pkg/cluster/cluster.go @@ -132,12 +132,12 @@ func (c *Cluster) setStatus(status spec.PostgresStatus) { DoRaw() if k8sutil.ResourceNotFound(err) { - c.logger.Warningf("could not set status for the non-existing cluster") + c.logger.Warningf("could not set %q status for the non-existing cluster", status) return } if err != nil { - c.logger.Warningf("could not set status for the cluster: %v", err) + c.logger.Warningf("could not set %q status for the cluster: %v", status, err) } }