Adding filter to docker swarm task REST API
Here we try to pass the correct filter when calling docker's swarm service task REST API. In the docs it says, we should be passing in 'map[string][] string] = i am interpreting it as a map of string to strings array.
Anyways, here is an example of using service name as the filter. Notice filter and the correc json block shown below :-
Comments