Pass the given context.

This commit is contained in:
Mariano Cano 2019-07-29 15:53:09 -07:00
parent ba2ba54928
commit 7a64a84761

View file

@ -86,7 +86,7 @@ func (a *Authority) Authorize(ctx context.Context, ott string) ([]provisioner.Si
// Call the provisioner AuthorizeSign method to apply provisioner specific
// auth claims and get the signing options.
opts, err := p.AuthorizeSign(context.Background(), ott)
opts, err := p.AuthorizeSign(ctx, ott)
if err != nil {
return nil, &apiError{errors.Wrap(err, "authorizeSign"), http.StatusUnauthorized, errContext}
}