Skip to content

Commit

Permalink
Adding map type to ExecutorResponse -> AssignedLabels
Browse files Browse the repository at this point in the history
Signed-off-by: Dani Louca <[email protected]>
  • Loading branch information
dloucasfx committed Feb 12, 2020
1 parent 121d335 commit 1bdfdf4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ type ViewData struct {
URL string `json:"url"`
}
type ExecutorResponse struct {
AssignedLabels []struct{} `json:"assignedLabels"`
Description interface{} `json:"description"`
Jobs []InnerJob `json:"jobs"`
Mode string `json:"mode"`
NodeDescription string `json:"nodeDescription"`
NodeName string `json:"nodeName"`
NumExecutors int64 `json:"numExecutors"`
OverallLoad struct{} `json:"overallLoad"`
AssignedLabels []map[string]string `json:"assignedLabels"`
Description interface{} `json:"description"`
Jobs []InnerJob `json:"jobs"`
Mode string `json:"mode"`
NodeDescription string `json:"nodeDescription"`
NodeName string `json:"nodeName"`
NumExecutors int64 `json:"numExecutors"`
OverallLoad struct{} `json:"overallLoad"`
PrimaryView struct {
Name string `json:"name"`
URL string `json:"url"`
Expand Down

0 comments on commit 1bdfdf4

Please sign in to comment.