-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dns: allow filtering
ListDNSRecord
calls by priority
Even though this doesn't make it to the API, we still use it internally for filtering.
- Loading branch information
1 parent
4cc0441
commit a7b8640
Showing
1 changed file
with
1 addition
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ type ListDNSRecordsParams struct { | |
Order string `url:"order,omitempty"` | ||
Direction ListDirection `url:"direction,omitempty"` | ||
Match string `url:"match,omitempty"` | ||
Priority *uint16 `json:"priority,omitempty"` | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jacobbednarz
Author
Member
|
||
|
||
ResultInfo | ||
} | ||
|
@jacobbednarz Should it be
url:
instead ofjson:
? Or maybe having bothjson:
andurl:
? I noticed that this commit is addingPriority=
(capitalized and with no values) to the URL.