Skip to content

Commit

Permalink
Merge pull request #6920 from killianmuldoon/fix/log-formatting
Browse files Browse the repository at this point in the history
🐛  fix log formatting in runtime client
  • Loading branch information
k8s-ci-robot authored Jul 14, 2022
2 parents e5f7e84 + ccc1336 commit 1ec0cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runtime/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func (c *client) CallExtension(ctx context.Context, hook runtimecatalog.Hook, fo
}

if retryResponse, ok := response.(runtimehooksv1.RetryResponseObject); ok && retryResponse.GetRetryAfterSeconds() != 0 {
log.Info(fmt.Sprintf("extension handler returned blocking response with retryAfterSeconds of %q", retryResponse.GetRetryAfterSeconds()))
log.Info(fmt.Sprintf("extension handler returned blocking response with retryAfterSeconds of %d", retryResponse.GetRetryAfterSeconds()))
} else {
log.Info("extension handler returned success response")
}
Expand Down

0 comments on commit 1ec0cd6

Please sign in to comment.