Task query optional parameters (#69)
* Change TaskQuery struct parameters to optional * Thrift API is modified to make all the parameters in the TaskQuery struct optional * Autogenerated code is regenerated * Changes in TaskQuery structs used in the project * Now that TaskQuery receive optional values, pointers instead of values must be passed to the struct
This commit is contained in:
parent
6c8ab10b64
commit
fe567ee966
5 changed files with 253 additions and 162 deletions
|
@ -75,11 +75,7 @@ func TestNonExistentEndpoint(t *testing.T) {
|
|||
)
|
||||
defer r.Close()
|
||||
|
||||
taskQ := &aurora.TaskQuery{
|
||||
Role: "no",
|
||||
Environment: "task",
|
||||
JobName: "here",
|
||||
}
|
||||
taskQ := &aurora.TaskQuery{}
|
||||
|
||||
_, err = r.GetTasksWithoutConfigs(taskQ)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue