Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ociregistry/ociauth: pass context to token GET requests
Although POST requests to the token server were correctly being passed the context, GET requests were not. Remedy that by using `NewRequestWithContext` instead of `NewRequest`. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I7084253af14dd9b57e92aea86bc161d6a3aceb49 Reviewed-on: https://review.gerrithub.io/c/cue-labs/oci/+/1184461 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUE porcuepine <[email protected]>
- Loading branch information