mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-07-06 17:52:21 +02:00
fix: remove redundant namespace from error log
The contextLogger already carries the namespace from the WithValues call at the top of Reconcile. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
parent
176b55de78
commit
bedd662088
@ -90,7 +90,7 @@ func (r *ObjectStoreReconciler) Reconcile(ctx context.Context, req ctrl.Request)
|
||||
|
||||
if err := r.reconcileRoleRules(ctx, role, objectStoreNames); err != nil {
|
||||
contextLogger.Error(err, "Failed to reconcile RBAC for role",
|
||||
"roleName", role.Name, "namespace", role.Namespace)
|
||||
"roleName", role.Name)
|
||||
errs = append(errs, fmt.Errorf("while reconciling role %s: %w", role.Name, err))
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user