distribution/registry/client
Sevki Hasirci 5afbf32400 fix no error returned in fetchTokenWithOAuth
fetchTokenWithBasicAuth checks if a token is in the token response
but fetchTokenWithOAuth does not

these changes implements the same behaviour for the latter
returning a `ErrNoToken` if a token is not found in the resposne

Signed-off-by: Sevki Hasirci <sevki@cloudflare.com>
2019-04-14 11:05:59 +01:00
..
auth fix no error returned in fetchTokenWithOAuth 2019-04-14 11:05:59 +01:00
transport Enable static checks 2018-08-06 14:49:11 -07:00
blob_writer.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blob_writer_test.go Add ability to pass in substitution args into an Error 2015-07-15 11:02:10 -07:00
errors.go Update oauth errors to use api errors 2016-11-09 19:29:18 -08:00
errors_test.go Include status code in UnexpectedHTTPResponseError 2016-03-15 09:03:56 -07:00
repository.go Enable struct check 2018-08-06 13:55:43 -07:00
repository_test.go Merge pull request #2813 from lucab/ups/spec-json-binary 2019-03-01 14:26:54 -08:00