mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 15:08:28 +00:00
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…
x
Reference in New Issue
Block a user