Skip to content

Commit

Permalink
Merge pull request #6922 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…6920-to-release-1.2

[release-1.2] 🐛  fix log formatting in runtime client
  • Loading branch information
k8s-ci-robot authored Jul 14, 2022
2 parents 612b715 + 58d829a commit d5c9ea8
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 d5c9ea8

Please sign in to comment.