spotify/docker-client

listTasks should allow list of values in each filter

Open

#1092 opened on Oct 4, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (1,430 stars) (551 forks)batch import
bughelp wantedpinned

Description

Description

bug report

How to reproduce

The implementation of listTasks(Task.Criteria) here https://github.com/spotify/docker-client/blob/e1c7d47f778ec9c7e80279ecae812bf2098d4b34/src/main/java/com/spotify/docker/client/DefaultDockerClient.java#L2057 only allows one value for each filter. API docs state the value of each filter can be a list.

What do you expect

Allow a list of strings for each filter.

Software:

  • docker version: API 1.24+
  • Spotify's docker-client version: all

Contributor guide