Skip to content

Commit 242461d

Browse files
committed
e2e-changes
1 parent 6d5a397 commit 242461d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

volume-providers/iam/token_exchange.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ func (tes *tokenExchangeService) ExchangeIAMAPIKeyForIMSToken(iamAPIKey string,
9999
r.request.Field("response_type", "ims_portal")
100100
r.request.Field("apikey", iamAPIKey)
101101

102-
r.logger.Info("Request is:=================", zap.Reflect("Request", fmt.Sprintf("%s/oidc/token", tes.bluemixConf.IamURL)))
103-
r.logger.Info("apikey is:=================", zap.Reflect("apikey", iamAPIKey))
104-
105102
return r.exchangeForIMSToken()
106103
}
107104

@@ -112,9 +109,6 @@ func (tes *tokenExchangeService) ExchangeIAMAPIKeyForAccessToken(iamAPIKey strin
112109
r.request.Field("grant_type", "urn:ibm:params:oauth:grant-type:apikey")
113110
r.request.Field("apikey", iamAPIKey)
114111

115-
r.logger.Info("Request is:=================", zap.Reflect("Request", fmt.Sprintf("%s/oidc/token", tes.bluemixConf.IamURL)))
116-
r.logger.Info("apikey is:=================", zap.Reflect("apikey", iamAPIKey))
117-
118112
return r.exchangeForAccessToken()
119113
}
120114

0 commit comments

Comments
 (0)