HDDS-984. Fix TestOzoneManagerRatisServer.testIsReadOnlyCapturesAllCmdTypeEnums. Contributed by Xiaoyu Yao.
This commit is contained in:
parent
c0683ed253
commit
06c83d3b8a
@ -183,6 +183,10 @@ public static boolean isReadOnly(
|
||||
case CommitMultiPartUpload:
|
||||
case CompleteMultiPartUpload:
|
||||
case AbortMultiPartUpload:
|
||||
case GetS3Secret:
|
||||
case GetDelegationToken:
|
||||
case RenewDelegationToken:
|
||||
case CancelDelegationToken:
|
||||
return false;
|
||||
default:
|
||||
LOG.error("CmdType {} is not categorized as readOnly or not.", cmdType);
|
||||
|
Loading…
Reference in New Issue
Block a user