%q quotes automatically
Signed-off-by: Nicolas Corrarello <nicolas@corrarello.com>
This commit is contained in:
parent
62fe10204a
commit
239a9a9985
|
@ -34,7 +34,7 @@ func (b *backend) pathTokenRead(
|
||||||
return nil, fmt.Errorf("error retrieving role: %v", err)
|
return nil, fmt.Errorf("error retrieving role: %v", err)
|
||||||
}
|
}
|
||||||
if role == nil {
|
if role == nil {
|
||||||
return logical.ErrorResponse(fmt.Sprintf("Role '%q' not found", name)), nil
|
return logical.ErrorResponse(fmt.Sprintf("Role %q not found", name)), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determine if we have a lease configuration
|
// Determine if we have a lease configuration
|
||||||
|
|
Loading…
Reference in New Issue