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