JCLOUDS-1258: Allow China endpoints in FormSignerV4

This commit is contained in:
Ignasi Barrera 2017-09-07 16:05:13 +02:00
parent 7785379d81
commit cfdbc810b3
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);
}
}