Skip to content

Commit 65e01da

Browse files
committed
also log cloud provider node ID to help with debugging
1 parent f384271 commit 65e01da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ func (r *NodeLabelController) Reconcile(ctx context.Context, req ctrl.Request) (
238238
}
239239

240240
if err != nil {
241-
logger.Error(err, "failed to sync tags")
241+
logger.Error(err, "failed to sync tags", "providerID", providerID)
242242
return ctrl.Result{}, err
243243
}
244244

245-
logger.Info("Successfully synced tags to cloud provider", "tags", tagsToSync)
245+
logger.Info("Successfully synced tags to cloud provider", "providerID", providerID, "tags", tagsToSync)
246246
return ctrl.Result{}, nil
247247
}
248248

0 commit comments

Comments
 (0)