HBASE-13224 Minor formatting issue when logging a namespace scope in AuthResult#toContextString
This commit is contained in:
parent
bb0068893d
commit
6152d36c87
|
@ -177,10 +177,10 @@ public class AuthResult {
|
||||||
.append(user != null ? user.getName() : "UNKNOWN")
|
.append(user != null ? user.getName() : "UNKNOWN")
|
||||||
.append(", ");
|
.append(", ");
|
||||||
sb.append("scope=")
|
sb.append("scope=")
|
||||||
.append(namespace != null ? namespace : table == null ? "GLOBAL" : table);
|
.append(namespace != null ? namespace : table == null ? "GLOBAL" : table)
|
||||||
|
.append(", ");
|
||||||
if(namespace == null) {
|
if(namespace == null) {
|
||||||
sb.append(", ")
|
sb.append("family=")
|
||||||
.append("family=")
|
|
||||||
.append(toFamilyString())
|
.append(toFamilyString())
|
||||||
.append(", ");
|
.append(", ");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue