Skip to content

Commit 79ffcb0

Browse files
authored
Fix sort_key / sort_keys
Just add missing s in sort_keys query param of cron triggers : https://docs.openstack.org/mistral/latest/api/v2.html#get--v2-workflows
1 parent a06ca87 commit 79ffcb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstack/workflow/v2/crontriggers/requests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ type ListOpts struct {
124124
// It can be "asc" or "desc" (default).
125125
SortDirs string `q:"sort_dirs"`
126126
// SortKeys allows to sort by one of the cron trigger attributes.
127-
SortKeys string `q:"sort_key"`
127+
SortKeys string `q:"sort_keys"`
128128
// Marker and Limit control paging.
129129
// Marker instructs List where to start listing from.
130130
Marker string `q:"marker"`

0 commit comments

Comments
 (0)