Print role name in the error message
This commit is contained in:
parent
7e8ab05528
commit
e97f81ecaa
|
@ -241,7 +241,7 @@ func (b *backend) pathLoginUpdate(
|
|||
return nil, err
|
||||
}
|
||||
if roleEntry == nil {
|
||||
return logical.ErrorResponse("role entry not found"), nil
|
||||
return logical.ErrorResponse("entry for role '%s' not found", roleName), nil
|
||||
}
|
||||
|
||||
// Verify that the AMI ID of the instance trying to login matches the
|
||||
|
|
Loading…
Reference in a new issue