gaul commented on a change in pull request #135: URL: https://github.com/apache/jclouds/pull/135#discussion_r820593576
########## File path: core/src/main/java/org/jclouds/ContextBuilder.java ########## @@ -370,7 +371,11 @@ private Properties currentStateToUnexpandedProperties() { defaults.setProperty(PROPERTY_CREDENTIAL, credential); if (overrides.isPresent()) putAllAsString(overrides.get(), defaults); - putAllAsString(propertiesPrefixedWithJcloudsApiOrProviderId(getSystemProperties(), apiMetadata.getId(), providerId), defaults); + Map<String, Object> system = propertiesPrefixedWithJcloudsApiOrProviderId(getSystemProperties(), apiMetadata.getId(), providerId); + if (Strings.isNullOrEmpty((String) system.get(PROPERTY_ENDPOINT))) { + system.remove(PROPERTY_ENDPOINT); Review comment: Sorry I did not realize that `propertiesPrefixedWithJcloudsApiOrProviderId` returned a new `Map` instead of mutating the existing one. -- 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: notifications-unsubscr...@jclouds.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org