Skip to content
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

Fixes #152 by adding Query to the ListIncidentWorkflowOptions struct #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pagerduty/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ func InitCache(c *Client) {
log.Println("===== Enabling PagerDuty memory cache =====")
cacheType = "memory"
return
} else {
log.Println("===== PagerDuty Cache Skipping Init =====")
} else {
return
}

Expand Down
1 change: 1 addition & 0 deletions pagerduty/incident_workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ type ListIncidentWorkflowOptions struct {
Limit int `url:"limit,omitempty"`
Total bool `url:"total,omitempty"`
Includes []string `url:"include,brackets,omitempty"`
Query string `url:"query,omitempty"`
}

type listIncidentWorkflowOptionsGen struct {
Expand Down