vyommani commented on code in PR #732:
URL: https://github.com/apache/ranger/pull/732#discussion_r2601383150


##########
agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTClient.java:
##########
@@ -110,9 +110,13 @@ public RangerRESTClient(String url, String 
sslConfigFileName, Configuration conf
         mUrl               = url;
         mSslConfigFileName = sslConfigFileName;
         configuredURLs     = StringUtil.getURLs(mUrl);
-
-        setLastKnownActiveUrlIndex((new 
Random()).nextInt(getConfiguredURLs().size()));
-
+        int size = getConfiguredURLs().size();

Review Comment:
   done



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