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
b581b322a1
commit
edde01c605
|
@ -929,7 +929,7 @@ public class VisibilityController implements MasterCoprocessor, RegionCoprocesso
|
||||||
+ "' is not authorized to perform this action.");
|
+ "' is not authorized to perform this action.");
|
||||||
}
|
}
|
||||||
labels = this.visibilityLabelService.listLabels(regex);
|
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) {
|
} catch (AccessDeniedException e) {
|
||||||
logResult(false, "listLabels", e.getMessage(), null, null, regex);
|
logResult(false, "listLabels", e.getMessage(), null, null, regex);
|
||||||
CoprocessorRpcUtils.setControllerException(controller, e);
|
CoprocessorRpcUtils.setControllerException(controller, e);
|
||||||
|
|
Loading…
Reference in New Issue