From b8e8d0b57ee7cb378cf8a2f0d3d68128e283fcbb Mon Sep 17 00:00:00 2001 From: cmluciano Date: Wed, 28 Sep 2016 09:30:58 -0400 Subject: [PATCH] Remove subdomain argument from escalation_policy example. PR #19 removed the subdomain from pagerduty.NewClient. This example was not changed and fails the build when running the build task of the Makefile. --- examples/escalation_policies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/escalation_policies.go b/examples/escalation_policies.go index 5fdd6e51..2f634842 100644 --- a/examples/escalation_policies.go +++ b/examples/escalation_policies.go @@ -12,7 +12,7 @@ var ( func main() { var opts pagerduty.ListEscalationPoliciesOptions - client := pagerduty.NewClient(subdomain, authtoken) + client := pagerduty.NewClient(authtoken) if eps, err := client.ListEscalationPolicies(opts); err != nil { panic(err) } else {