added notrunc flag
This commit is contained in:
@@ -35,7 +35,7 @@ func GetAccessToken(c *Config) (string, error) {
|
||||
log.WithFields(log.Fields{"conf": fmt.Sprintf("%+v", conf)}).Debug()
|
||||
token, err := conf.PasswordCredentialsToken(context.TODO(), c.Username, c.Password)
|
||||
if err != nil {
|
||||
log.Error("Error retrieving AccessToken. Chech configuration, username and password")
|
||||
log.Error("Error retrieving AccessToken. Check configuration, username and password")
|
||||
return "", err
|
||||
}
|
||||
log.WithFields(log.Fields{"token": fmt.Sprintf("%+v", token.AccessToken)}).Debug()
|
||||
|
||||
Reference in New Issue
Block a user