Skip to content

Commit 43fd1d6

Browse files
committed
fix(logs): log the correct name when on ObjectStore not found error
Closes #539 Signed-off-by: Marco Nenciarini <[email protected]>
1 parent eced5ea commit 43fd1d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cnpgi/operator/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (r ReconcilerImplementation) Pre(
8181
if apierrs.IsNotFound(err) {
8282
contextLogger.Info(
8383
"barman object configuration not found, requeuing",
84-
"name", pluginConfiguration.BarmanObjectName,
84+
"name", barmanObjectKey.Name,
8585
"namespace", cluster.Namespace)
8686
return &reconciler.ReconcilerHooksResult{
8787
Behavior: reconciler.ReconcilerHooksResult_BEHAVIOR_REQUEUE,

0 commit comments

Comments
 (0)