Skip to content

Commit

Permalink
Improve logging for runner deletion with detailed runner name and status
Browse files Browse the repository at this point in the history
  • Loading branch information
site0801 committed Jan 29, 2025
1 parent ff8ea4c commit ad1dafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runner/runner_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (m *Manager) deleteRunnerWithGitHub(ctx context.Context, githubClient *gith

// deleteRunner delete runner in shoes, datastore.
func (m *Manager) deleteRunner(ctx context.Context, runner datastore.Runner, runnerStatus string) error {
logger.Logf(false, "will delete runner: %s", runner.UUID.String())
logger.Logf(false, "will delete runner: {runnerName: %s, runnerStatus: %s}", runner.UUID.String(), runnerStatus)

client, teardown, err := shoes.GetClient()
if err != nil {
Expand Down

0 comments on commit ad1dafd

Please sign in to comment.