Closed twhiteman closed 8 years ago
Were there tests already for filtering on container labels? I see one test for filtering on image labels.
I assume this passes the suite with each of the CLI versions (including 1.11).
LGTM.
There were no tests in sdc-docker covering container filtering - but there is good coverage in the docker/docker nightly tests.
Since the docker/docker integration tests are currently strapped to one version of docker (1.9.2 at time of writing), this is why we didn't notice this breakage.
I'll add a few cli container filter tests to sdc-docker, so that we can have some coverage of this across multiple docker versions.
Added container filter tests in new 'cli-filters.test.js' file.
With Docker 1.10 (API version 1.22) the filters changed from an array to an object with the value true.
In 1.9.1:
In 1.10.0: