Skip to content

Commit

Permalink
fix ids query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
y-du committed Feb 7, 2024
1 parent 07af824 commit ab560b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func genGetEndpointsQuery(filter model.EndpointFilter) string {
q = append(q, "labels="+genLabels(filter.Labels, "=", ","))
}
if len(filter.IDs) > 0 {
q = append(q, "ids"+strings.Join(filter.IDs, ","))
q = append(q, "ids="+strings.Join(filter.IDs, ","))
}
if len(q) > 0 {
return "?" + strings.Join(q, "&")
Expand Down

0 comments on commit ab560b2

Please sign in to comment.