@@ -2332,7 +2332,8 @@ func (s *syncer) runGrantExpandActions(ctx context.Context) (bool, error) {
23322332
23332333 // Peek the next action on the stack
23342334 if len (graph .Actions ) == 0 {
2335- l .Debug ("runGrantExpandActions: no actions" , zap .Any ("graph" , graph ))
2335+ l .Debug ("runGrantExpandActions: no actions" ) // zap.Any("graph", graph),
2336+
23362337 return true , nil
23372338 }
23382339 action := graph .Actions [0 ]
@@ -2520,7 +2521,7 @@ func (s *syncer) expandGrantsForEntitlements(ctx context.Context) error {
25202521
25212522 graph := s .state .EntitlementGraph (ctx )
25222523 l = l .With (zap .Int ("depth" , graph .Depth ))
2523- l .Debug ("expandGrantsForEntitlements: start" , zap .Any ("graph" , graph ) )
2524+ l .Debug ("expandGrantsForEntitlements: start" ) // zap.Any("graph", graph)
25242525
25252526 s .counts .LogExpandProgress (ctx , graph .Actions )
25262527
@@ -2547,7 +2548,7 @@ func (s *syncer) expandGrantsForEntitlements(ctx context.Context) error {
25472548 if int64 (graph .Depth ) > maxDepth {
25482549 l .Error (
25492550 "expandGrantsForEntitlements: exceeded max depth" ,
2550- zap .Any ("graph" , graph ),
2551+ // zap.Any("graph", graph),
25512552 zap .Int64 ("max_depth" , maxDepth ),
25522553 )
25532554 s .state .FinishAction (ctx )
@@ -2583,13 +2584,13 @@ func (s *syncer) expandGrantsForEntitlements(ctx context.Context) error {
25832584 }
25842585
25852586 if graph .IsExpanded () {
2586- l .Debug ("expandGrantsForEntitlements: graph is expanded" , zap .Any ("graph" , graph ) )
2587+ l .Debug ("expandGrantsForEntitlements: graph is expanded" ) // zap.Any("graph", graph)
25872588 s .state .FinishAction (ctx )
25882589 return nil
25892590 }
25902591
25912592 graph .Depth ++
2592- l .Debug ("expandGrantsForEntitlements: graph is not expanded" , zap .Any ("graph" , graph ) )
2593+ l .Debug ("expandGrantsForEntitlements: graph is not expanded" ) // zap.Any("graph", graph)
25932594 return nil
25942595}
25952596
0 commit comments