HBASE-25892: 'False' should be 'True' in auditlog of listLabels (#3273)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
caoliqing 2021-05-22 11:22:51 +08:00 committed by GitHub
parent b581b322a1
commit edde01c605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -929,7 +929,7 @@ public class VisibilityController implements MasterCoprocessor, RegionCoprocesso
+ "' is not authorized to perform this action.");
}
labels = this.visibilityLabelService.listLabels(regex);
logResult(false, "listLabels", "Listing labels allowed", null, null, regex);
logResult(true, "listLabels", "Listing labels allowed", null, null, regex);
} catch (AccessDeniedException e) {
logResult(false, "listLabels", e.getMessage(), null, null, regex);
CoprocessorRpcUtils.setControllerException(controller, e);