forked from TrueCloudLab/distribution
Merge pull request #1468 from HuKeping/master
Cleanup: remove unused log
This commit is contained in:
commit
d8f472c200
1 changed files with 0 additions and 1 deletions
|
@ -215,7 +215,6 @@ type tokenResponse struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (th *tokenHandler) fetchToken(params map[string]string) (token *tokenResponse, err error) {
|
func (th *tokenHandler) fetchToken(params map[string]string) (token *tokenResponse, err error) {
|
||||||
//log.Debugf("Getting bearer token with %s for %s", challenge.Parameters, ta.auth.Username)
|
|
||||||
realm, ok := params["realm"]
|
realm, ok := params["realm"]
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil, errors.New("no realm specified for token auth challenge")
|
return nil, errors.New("no realm specified for token auth challenge")
|
||||||
|
|
Loading…
Reference in a new issue