Skip to content

Commit

Permalink
Remove subdomain argument from escalation_policy example. (#38)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cmluciano authored and ranjib committed Sep 28, 2016
1 parent 0c81fa7 commit 01a1c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/escalation_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 01a1c50

Please sign in to comment.