Conversation
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
7d108ad to
7ed9937
Compare
|
ping @aluzzardi @vieux @abronan |
test/integration/api/save.bats
Outdated
There was a problem hiding this comment.
So, in order to make sure that save actually looks up at different machines I would probably do something like:
start_docker_with_busybox 2
docker -H ${HOSTS[0]} tag busybox test1
docker -H ${HOSTS[0]} tag busybox test2
docker_swarm save test1 test2
This makes sure save is looking at both hosts.
There was a problem hiding this comment.
Well, does not support multi images on multiple nodes. :)
|
@vieux You are way more familiar than me with what's that supposed to do, could you take a look? What kind of things should be tested? Maybe a load afterwards on a third (clean host, without even |
api/handlers.go
Outdated
There was a problem hiding this comment.
I think we do not need this bFoundEngine.
Just check with foundEngineAddr == "" as Golang alreay inits it to an empty string.
|
Regarding my previous comment on saving images which are on different machines: 1/ If it's something we want to support, we should add a test |
|
@jimmyxian @aluzzardi I say we don't support save on multi machine (at least for now) so we it would be nice to add a proper error and a test. |
|
Also, can we then rmi busybox and testimage; load the tar file; and do a images again ? |
|
@chanwit @aluzzardi @vieux Yeah. I will update by the comments. |
6a79416 to
7a33022
Compare
|
ping @aluzzardi @vieux @chanwit Modified by the comments, check again, thks |
Add support save images