HBASE-25892: 'False' should be 'True' in auditlog of listLabels (#3273)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
375aee2327
commit
a19dee1eed
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue