Filters query not working in Docker API V1.24 GET tasks

Docker Version: 1.12.2, API version: 1.24, Go version: go1.6.3, OS/Arch: linux/amd64

I have swarm deployed and have started a service with 3 replicas. The remote api works fine when I list the tasks and service without filters. But with filters, it is giving error.

Get URL invoked :

Error Response Received:
{“message”:“json: cannot unmarshal string into Go value of type map[string]bool”}

It works perfectly If I remove the filters query parameter. Any clue as to what could be wrong ?

Actually just realized that it works when we pass as below


1 Like