-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provider/pagerduty pagerduty_schedule - support for start_day_of_week (schedule restriction) #10069
Conversation
The PR on pagerduty has been merged, so probably just need a vendor update in this and its good to go. You probably will want to modify one of the tests as well though to actually test the weekday restrictions. Possibly just modify the |
@paultyng thanks for checking up on this one. That's awesome :) Updated $ make testacc TEST=./builtin/providers/pagerduty TESTARGS='-run=TestAccPagerDutySchedule_Multi' 23:16:30
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/16 23:16:56 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/pagerduty -v -run=TestAccPagerDutySchedule_Multi -timeout 120m
=== RUN TestAccPagerDutySchedule_Multi
--- PASS: TestAccPagerDutySchedule_Multi (10.30s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/pagerduty 10.313s
$ make testacc TEST=./builtin/providers/pagerduty TESTARGS='-run=TestAccPagerDutySchedule_BasicWeek' 23:28:34
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/16 23:32:25 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/pagerduty -v -run=TestAccPagerDutySchedule_BasicWeek -timeout 120m
=== RUN TestAccPagerDutySchedule_BasicWeek
--- PASS: TestAccPagerDutySchedule_BasicWeek (11.05s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/pagerduty 11.062s |
Hi @heimweh Thanks so much for this - it LGTM! :)
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This should resolve #10033 (waiting for client library fix PagerDuty/go-pagerduty#52 to be merged)