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 Duo Zhang
parent 375aee2327
commit a19dee1eed
1 changed files with 1 additions and 1 deletions

View File

@ -928,7 +928,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);