Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[17.03.x] fix autoremove on older api #31692
Commit 87a5346 cherry-picked changes into the 17.03 branch to make the client skip auto-removing containers on API 1.25 and up.
Some changes got lost during that cherry-pick, resulting in 17.03 clients to not fall back to the old behavior when connecting to API version 1.24 or below.
This patch addresses this issue for the 17.03 branch by copying the
This change is not needed on "master" (17.04-dev), which does not have this problem.
Thanks to @jlhawn for finding this bug.
I also added integration tests in a second commit (32dbb5c), so that we can merge those tests to master