HBASE-13224 Minor formatting issue when logging a namespace scope in AuthResult#toContextString

This commit is contained in:
Esteban Gutierrez 2015-03-12 19:02:09 -07:00 committed by Matteo Bertozzi
parent bb0068893d
commit 6152d36c87
1 changed files with 3 additions and 3 deletions

View File

@ -177,10 +177,10 @@ public class AuthResult {
.append(user != null ? user.getName() : "UNKNOWN")
.append(", ");
sb.append("scope=")
.append(namespace != null ? namespace : table == null ? "GLOBAL" : table);
.append(namespace != null ? namespace : table == null ? "GLOBAL" : table)
.append(", ");
if(namespace == null) {
sb.append(", ")
.append("family=")
sb.append("family=")
.append(toFamilyString())
.append(", ");
}