Skip to content
Permalink
Browse files
Fixes params in wrong order
  • Loading branch information
zack-shoylev authored and Everett Toews committed Dec 24, 2013
1 parent 4ab667f commit af216ea5d0ce7ecf3c60998b171bf081f0b1382b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -75,7 +75,7 @@ public CreateWebhook(String username, String apiKey) {

groupApi = autoscaleApi.getGroupApiForZone(ZONE);
String groupId = Utils.getGroupId(groupApi);
policyApi = autoscaleApi.getPolicyApiForZoneAndGroup(groupId, ZONE);
policyApi = autoscaleApi.getPolicyApiForZoneAndGroup(ZONE, groupId);
String policyId = Utils.getPolicyId(policyApi);
webhookApi = autoscaleApi.getWebhookApiForZoneAndGroupAndPolicy(ZONE, groupId, policyId);
}

0 comments on commit af216ea

Please sign in to comment.