shwstppr commented on code in PR #11382:
URL: https://github.com/apache/cloudstack/pull/11382#discussion_r2570599909


##########
server/src/main/java/com/cloud/api/ApiServlet.java:
##########
@@ -84,9 +83,7 @@ public class ApiServlet extends HttpServlet {
     private static final Logger ACCESSLOGGER = 
LogManager.getLogger("apiserver." + ApiServlet.class.getName());
     private static final String REPLACEMENT = "_";
     private static final String LOGGER_REPLACEMENTS = "[\n\r\t]";
-    private static final Pattern GET_REQUEST_COMMANDS = 
Pattern.compile("^(get|list|query|find)(\\w+)+$");
-    private static final HashSet<String> GET_REQUEST_COMMANDS_LIST = new 
HashSet<>(Set.of("isaccountallowedtocreateofferingswithtags",
-            "readyforshutdown", "cloudianisenabled", "quotabalance", 
"quotasummary", "quotatarifflist", "quotaisenabled", "quotastatement", 
"verifyoauthcodeandgetuser"));
+    public static final Pattern GET_REQUEST_COMMANDS = 
Pattern.compile("^(get|list|query|find)(\\w+)+$");

Review Comment:
   This PR only changes the access modifier for the variable so not changing 
the actual pattern



-- 
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]

Reply via email to