sadanand48 commented on code in PR #6955:
URL: https://github.com/apache/ozone/pull/6955#discussion_r1679831085


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/HddsClientUtils.java:
##########
@@ -162,12 +165,12 @@ public static void verifyResourceName(String resName, 
boolean isStrictS3) {
       if (currChar != '.') {
         isIPv4 = ((currChar >= '0') && (currChar <= '9')) && isIPv4;
       }
-      doCharacterChecks(currChar, prev, isStrictS3);
+      doCharacterChecks(currChar, prev, resType, isStrictS3);
       prev = currChar;
     }
 
     if (isIPv4) {
-      throw new IllegalArgumentException(
+      throw new IllegalArgumentException(resType +
           "Bucket or Volume name cannot be an IPv4 address or all numeric");

Review Comment:
   ```suggestion
             " name cannot be an IPv4 address or all numeric");
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to