Changes in TaskQuery structs used in the proyect
* Now that TaskQuery receive optional values, pointers instead of values must be passed to the structt
This commit is contained in:
parent
eb0de4e7f4
commit
1d22cb620c
3 changed files with 13 additions and 17 deletions
|
@ -553,9 +553,9 @@ func main() {
|
|||
case "taskStatus":
|
||||
fmt.Println("Getting task status")
|
||||
taskQ := &aurora.TaskQuery{
|
||||
Role: job.JobKey().Role,
|
||||
Environment: job.JobKey().Environment,
|
||||
JobName: job.JobKey().Name,
|
||||
Role: &job.JobKey().Role,
|
||||
Environment: &job.JobKey().Environment,
|
||||
JobName: &job.JobKey().Name,
|
||||
}
|
||||
tasks, err := r.GetTaskStatus(taskQ)
|
||||
if err != nil {
|
||||
|
@ -567,9 +567,9 @@ func main() {
|
|||
case "tasksWithoutConfig":
|
||||
fmt.Println("Getting task status")
|
||||
taskQ := &aurora.TaskQuery{
|
||||
Role: job.JobKey().Role,
|
||||
Environment: job.JobKey().Environment,
|
||||
JobName: job.JobKey().Name,
|
||||
Role: &job.JobKey().Role,
|
||||
Environment: &job.JobKey().Environment,
|
||||
JobName: &job.JobKey().Name,
|
||||
}
|
||||
tasks, err := r.GetTasksWithoutConfigs(taskQ)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue