mirror of https://github.com/apache/jclouds.git
JCLOUDS-1258: Allow China endpoints in FormSignerV4
This commit is contained in:
parent
7785379d81
commit
cfdbc810b3
|
@ -84,7 +84,6 @@ public final class FormSignerV4 implements FormSigner {
|
|||
|
||||
/** This will only work for amazon deployments, and perhaps not all of them. */
|
||||
private static List<String> parseServiceAndRegion(String host) {
|
||||
checkArgument(host.endsWith(".amazonaws.com"), "Only AWS endpoints currently supported %s", host);
|
||||
return Splitter.on('.').splitToList(host);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue