mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 13:23:09 +01:00
fix(logs): log the correct name when on ObjectStore not found error (#540)
Closes #539 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
parent
eced5ea2c6
commit
a29aa1c91a
@ -81,8 +81,8 @@ func (r ReconcilerImplementation) Pre(
|
||||
if apierrs.IsNotFound(err) {
|
||||
contextLogger.Info(
|
||||
"barman object configuration not found, requeuing",
|
||||
"name", pluginConfiguration.BarmanObjectName,
|
||||
"namespace", cluster.Namespace)
|
||||
"name", barmanObjectKey.Name,
|
||||
"namespace", barmanObjectKey.Namespace)
|
||||
return &reconciler.ReconcilerHooksResult{
|
||||
Behavior: reconciler.ReconcilerHooksResult_BEHAVIOR_REQUEUE,
|
||||
}, nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user