JCLOUDS-1258: Allow China endpoints in FormSignerV4

This commit is contained in:
Ignasi Barrera 2017-09-07 16:05:13 +02:00
parent 6feacb1ee5
commit 1c1f81c373
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}
}