jacek-lewandowski commented on code in PR #2458:
URL: https://github.com/apache/cassandra/pull/2458#discussion_r1258169132


##########
src/java/org/apache/cassandra/locator/Ec2MetadataServiceConnector.java:
##########
@@ -45,7 +45,7 @@ abstract class Ec2MetadataServiceConnector extends 
AbstractCloudMetadataServiceC
 
     Ec2MetadataServiceConnector(SnitchProperties properties)
     {
-        super(properties.get(EC2_METADATA_URL_PROPERTY, 
DEFAULT_EC2_METADATA_URL));
+        super(properties.get(EC2_METADATA_URL_PROPERTY, 
properties.get(METADATA_URL_PROPERTY, DEFAULT_EC2_METADATA_URL)));

Review Comment:
   perhaps we should not bother that much - who would set it to something else 
than a default value?



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