Skip to content

Commit

Permalink
Fix a logging string
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaslana committed Jun 25, 2024
1 parent 682b757 commit 03f1d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/github/checkPendingCI.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func checkTeamMemberActivity(ctx context.Context, client *github.Client, owner,
}

for _, comment := range comments {
slogs.Logr.Info("Checking comment by:", "user", comment.User.GetLogin(), "created_at", comment.CreatedAt.Format(time.RFC3339), "PR", prNumber, "repository", repo)
slogs.Logr.Info("Checking comment from user", "user", comment.User.GetLogin(), "created_at", comment.CreatedAt.Format(time.RFC3339), "PR", prNumber, "repository", repo)
if _, ok := teamMembers[comment.User.GetLogin()]; ok && comment.CreatedAt.After(lastCommitTime) {
slogs.Logr.Info("Found team member comment after last commit time", "time", comment.CreatedAt.Format(time.RFC3339), "PR", prNumber, "repository", repo)
// Check if the comment is after the last commit
Expand Down

0 comments on commit 03f1d9b

Please sign in to comment.