Skip to content

Commit

Permalink
feat: update scheduler cluster query params (#587)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi committed Aug 30, 2021
1 parent 261ff0b commit 1d038fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/types/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ type GetSchedulersQuery struct {
Location string `form:"location" binding:"omitempty"`
IP string `form:"ip" binding:"omitempty"`
Status string `form:"status" binding:"omitempty,oneof=active inactive"`
SchedulerClusterID uint `json:"scheduler_cluster_id" binding:"required"`
SchedulerClusterID uint `json:"scheduler_cluster_id" binding:"omitempty"`
}

0 comments on commit 1d038fa

Please sign in to comment.