mirror of https://github.com/apache/jclouds.git
JCLOUDS-1258: Allow China endpoints in FormSignerV4
This commit is contained in:
parent
6feacb1ee5
commit
1c1f81c373
|
@ -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