Skip to content

Commit

Permalink
Add log on Sync invocation (flyteorg#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
katrogan authored Feb 3, 2020
1 parent 1df6603 commit 85915d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/clusterresource/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func (c *controller) Sync(ctx context.Context) error {
}
}()
c.metrics.SyncStarted.Inc()
logger.Info(ctx, "Running an invocation of ClusterResource Sync")

// Prefer to sync projects most newly created to ensure their resources get created first when other resources exist.
projects, err := c.db.ProjectRepo().ListAll(ctx, descCreatedAtSortParam)
Expand Down

0 comments on commit 85915d5

Please sign in to comment.