This remove the daemon.Swarm construction by make the new test Daemon struct aware of swarm. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 83d18cf4e3e84055f7034816eed2a10c04e777ca Component: engine
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 69afd30444e87b3d0c4fe1ed4079466f629b0c33 Component: engine