Repository: jclouds Updated Branches: refs/heads/master 6feacb1ee -> 1c1f81c37
JCLOUDS-1258: Allow China endpoints in FormSignerV4 Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/1c1f81c3 Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/1c1f81c3 Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/1c1f81c3 Branch: refs/heads/master Commit: 1c1f81c3733dd5b3123d5135ffda349a8c779b76 Parents: 6feacb1 Author: Ignasi Barrera <[email protected]> Authored: Thu Sep 7 16:05:13 2017 +0200 Committer: Ignasi Barrera <[email protected]> Committed: Fri Sep 8 08:12:50 2017 +0200 ---------------------------------------------------------------------- apis/sts/src/main/java/org/jclouds/aws/filters/FormSignerV4.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/1c1f81c3/apis/sts/src/main/java/org/jclouds/aws/filters/FormSignerV4.java ---------------------------------------------------------------------- diff --git a/apis/sts/src/main/java/org/jclouds/aws/filters/FormSignerV4.java b/apis/sts/src/main/java/org/jclouds/aws/filters/FormSignerV4.java index 7dfbd12..ca58fb0 100644 --- a/apis/sts/src/main/java/org/jclouds/aws/filters/FormSignerV4.java +++ b/apis/sts/src/main/java/org/jclouds/aws/filters/FormSignerV4.java @@ -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); } }
