Cleanup: remove unused log
Signed-off-by: Hu Keping <hukeping@huawei.com>
This commit is contained in:
parent
5a1863b76e
commit
5408d4e0a5
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