forked from TrueCloudLab/certificates
Pass the given context.
This commit is contained in:
parent
ba2ba54928
commit
7a64a84761
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ func (a *Authority) Authorize(ctx context.Context, ott string) ([]provisioner.Si
|
||||||
|
|
||||||
// Call the provisioner AuthorizeSign method to apply provisioner specific
|
// Call the provisioner AuthorizeSign method to apply provisioner specific
|
||||||
// auth claims and get the signing options.
|
// auth claims and get the signing options.
|
||||||
opts, err := p.AuthorizeSign(context.Background(), ott)
|
opts, err := p.AuthorizeSign(ctx, ott)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, &apiError{errors.Wrap(err, "authorizeSign"), http.StatusUnauthorized, errContext}
|
return nil, &apiError{errors.Wrap(err, "authorizeSign"), http.StatusUnauthorized, errContext}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue