Fix test case for docker_api_swarm_test.go
Fix test case for docker_api_swarm_test.go

Signed-off-by: Justin Cormack <af64ee19f04db9509cb02b0e470e11e5402ef9b3@docker.com>

splunk/docker,nalind/docker,tophj-ibm/moby,Mokolea/docker,mtesselH/docker,ajaymdesai/docker,hqhq/moby,amatsus/docker,naveed-jamil-tenpearls/moby,coolljt0725/docker,brahmaroutu/docker,shishir-a412ed/docker,estesp/docker,tianon/docker,shhsu/docker,AkihiroSuda/docker,jhorwit2/docker,jameszhan/docker,kolyshkin/docker,diogomonica/docker,cpuguy83/docker,nalind/docker,dgageot/docker,michael-holzheu/docker,twaugh/docker,sdurrheimer/docker,asbjornenge/docker,moby/moby,catinthesky/docker,mike1729/docker,qudongfang/docker,kojiromike/docker,sterchelen/docker,charleszheng44/moby,PatrickLang/moby,harche/docker,gschaetz/moby,jthelin/docker,dperny/docker,darrenstahlmsft/moby,moul/docker,yosifkit/docker,sterchelen/docker,konstruktoid/docker-1,xuxinkun/docker,coolljt0725/docker,naveed-jamil-tenpearls/moby,danyalKhaliq10p/moby,pradipd/moby,tmp6154/docker,noironetworks/docker,imkin/moby,ColinHebert/docker,dmcgowan/docker,crosbymichael/docker,mkumatag/docker,mike1729/docker,xiaods/docker,darrenstahlmsft/moby,eskaaren/docker,danyalKhaliq10p/moby,zhuguihua/docker,qudongfang/docker,SvenDowideit/docker,mtrmac/docker,djs55/docker,prertik/docker,mikebrow/docker,x1022as/docker,dmcgowan/docker,diogomonica/docker,mahak/docker,laijs/docker,sarnautov/moby,stevvooe/docker,asbjornenge/docker,konstruktoid/docker-upstream,mtesselH/docker,msabansal/docker,SvenDowideit/docker,alfred-landrum/docker,unclejack/docker,scotttlin/docker,ffoysal/docker,srust/docker,mixja/docker,srust/docker,michelvocks/docker,twaugh/docker,srust/docker,icaoweiwei/docker,mikedougherty/docker,portworx/docker,coreos/docker,kolyshkin/docker,dgageot/docker,rancher/docker,mahak/docker,jameszhan/docker,ffoysal/docker,konstruktoid/docker-upstream,rhatdan/storage,xuxinkun/docker,crosbymichael/docker,fcrisciani/docker,sarnautov/moby,HuKeping/docker,ibuildthecloud/docker,maxamillion/docker,moby/moby,mikedougherty/docker,coreos/docker,moby/moby,kojiromike/docker,endophage/docker,sdurrheimer/docker,jwhonce/docker,jthelin/docker,erikh/docker,zhuguihua/docker,imkin/moby,JMesser81/docker,rremer/moby,tagomoris/docker,miminar/docker,cyphar/docker,ffoysal/docker,x1022as/docker,Mokolea/docker,rhatdan/docker,lixiaobing10051267/docker,madhanrm/docker,jvanz/docker,xuxinkun/docker,scotttlin/docker,justyntemme/docker,stevvooe/docker,portworx/docker,michael-holzheu/docker,pradipd/moby,mtanlee/docker,erikstmartin/docker,liaoqingwei/docker,konstruktoid/docker-1,gnailuy/docker,trebonian/docker,johnstep/moby-moby,gjaskiewicz/moby,ibuildthecloud/docker,sfsmithcha/docker,stevvooe/docker,sfsmithcha/docker,trebonian/docker,jimjag/docker,PatrickLang/moby,gschaetz/moby,tophj-ibm/moby,mtanlee/docker,ColinHebert/docker,catinthesky/docker,trebonian/docker,Mokolea/docker,akira-baruah/docker,portworx/docker,AkihiroSuda/docker,prertik/docker,justincormack/docker,zhuguihua/docker,docker/docker,dperny/docker,dsau/docker,bonczj/moby-json-file-logger,vdemeester/docker,rremer/moby,nawawi/docker,pramodhkp/moby,resin-io/docker,dongjoon-hyun/docker,laijs/moby,bearstech/moby,afein/docker,konstruktoid/docker-upstream,mtanlee/docker,shhsu/docker,qudongfang/docker,mstanleyjones/docker,13W/docker,catinthesky/docker,laijs/moby,13W/docker,mtesselH/docker,KarthikNayak/docker,abhinavdahiya/docker,shishir-a412ed/docker,xiekeyang/docker,lixiaobing10051267/docker,justincormack/docker,michelvocks/docker,jwhonce/docker,mahak/docker,estesp/docker,laijs/docker,dccurtis/docker,ibuildthecloud/docker,dsheets/moby,rhatdan/docker,tagomoris/docker,ndeloof/docker,bearstech/moby,cloudflare/docker,johnstep/moby-moby,danyalKhaliq10p/moby,mikedougherty/docker,bluebreezecf/docker,cpuguy83/docker,kolyshkin/moby,xiaods/docker,nalind/docker,bonczj/moby-json-file-logger,HideoYamauchi/docker,thaJeztah/docker,nawawi/docker,madhanrm/docker,yp-engineering/docker,projectatomic/docker,mikebrow/docker,djs55/docker,jlhawn/docker,hypriot/docker,cyphar/docker,gnailuy/docker,raja-sami-10p/moby,tophj-ibm/docker,naveed-jamil-tenpearls/moby,rancher/docker,shhsu/docker,gnailuy/docker,alfred-landrum/docker,AkihiroSuda/docker,cloudflare/docker,thtanaka/docker,haveatry/docker,mohmost12/docker,thtanaka/docker,noironetworks/docker,dongjoon-hyun/docker,cyphar/docker,jwhonce/docker,hqhq/moby,allencloud/docker,eskaaren/docker,mkumatag/docker,kunalkushwaha/docker,POLJM242/docker,docker/docker,yummypeng/docker,13W/docker,gschaetz/moby,dongjoon-hyun/docker,xiekeyang/docker,HuKeping/docker,bearstech/moby,sterchelen/docker,duglin/docker,darrenstahlmsft/docker,rhatdan/storage,flavio/docker,mahak/docker,akira-baruah/docker,hqhq/moby,Ramzec/docker,endophage/docker,nawawi/docker,KingEmet/docker,yongtang/docker,allencloud/docker,paralin/docker,imkin/moby,xiekeyang/docker,charleszheng44/moby,konstruktoid/docker-1,whuwxl/docker,abhinavdahiya/docker,resin-io/docker,dsheets/moby,ripcurld0/moby,miminar/docker,haveatry/docker,cpuguy83/docker,haveatry/docker,q384566678/docker,konstruktoid/docker-upstream,bearstech/moby,mikebrow/docker,Ramzec/docker,fcrisciani/docker,dims/docker,shishir-a412ed/docker,coreos/docker,yongtang/docker,rhatdan/storage,ibuildthecloud/docker,tmp6154/docker,containers/storage,mstanleyjones/docker,q384566678/docker,tophj-ibm/docker,pramodhkp/moby,mstanleyjones/docker,hypriot/docker,sfsmithcha/docker,dmcgowan/docker,whuwxl/docker,erikstmartin/docker,ripcurld0/moby,justincormack/docker,maxamillion/docker,erikstmartin/docker,kunalkushwaha/docker,mohmost12/docker,KingEmet/docker,bluebreezecf/docker,hypriot/docker,yasiramin10p/moby,moul/docker,HideoYamauchi/docker,tophj-ibm/docker,yp-engineering/docker,maxamillion/docker,moby/moby,rhatdan/docker,amatsus/docker,tmp6154/docker,YuPengZTE/docker,bluebreezecf/docker,jlebon/docker,dccurtis/docker,jlhawn/docker,kojiromike/docker,yosifkit/docker,djs55/docker,lixiaobing1/docker,miminar/docker,msabansal/docker,moypray/docker,projectatomic/docker,dgageot/docker,coolljt0725/docker,projectatomic/docker,thaJeztah/docker,moypray/docker,jhorwit2/docker,icaoweiwei/docker,splunk/docker,SvenDowideit/docker,noironetworks/docker,containers/storage,Ramzec/docker,jimjag/docker,xiaods/docker,vdemeester/docker,kencochrane/docker,tklauser/docker,PatrickLang/moby,jimjag/docker,diogomonica/docker,estesp/docker,dccurtis/docker,unclejack/docker,afein/docker,abhinavdahiya/docker,lixiaobing1/docker,tianon/docker,flavio/docker,darrenstahlmsft/moby,q384566678/docker,mike1729/docker,brahmaroutu/docker,erikh/docker,sarnautov/moby,YuPengZTE/docker,jhorwit2/docker,rancher/docker,yosifkit/docker,KarthikNayak/docker,allencloud/docker,containers/storage,dims/docker,icaoweiwei/docker,tonistiigi/docker,raja-sami-10p/moby,madhanrm/docker,cloudflare/docker,jvanz/docker,nalind/docker,yummypeng/docker,Syntaxide/docker,johnstep/moby-moby,bonczj/moby-json-file-logger,yp-engineering/docker,yasiramin10p/moby,trebonian/docker,KarthikNayak/docker,michelvocks/docker,endophage/docker,laijs/docker,gjaskiewicz/moby,jimjag/docker,liaoqingwei/docker,ColinHebert/docker,mixja/docker,ndeloof/docker,13W/docker,harche/docker,jameszhan/docker,tophj-ibm/moby,flavio/docker,ndeloof/docker,paralin/docker,moul/docker,kencochrane/docker,vdemeester/docker,asbjornenge/docker,twaugh/docker,tonistiigi/docker,erikh/docker,dsau/docker,jlhawn/docker,POLJM242/docker,charleszheng44/moby,HuKeping/docker,ajaymdesai/docker,Syntaxide/docker,amatsus/docker,pradipd/moby,whuwxl/docker,duglin/docker,dims/docker,kencochrane/docker,crosbymichael/docker,eskaaren/docker,mtrmac/docker,fcrisciani/docker,jlebon/docker,tonistiigi/docker,mohmost12/docker,jlebon/docker,darrenstahlmsft/docker,duglin/docker,laijs/moby,gjaskiewicz/moby,prertik/docker,kolyshkin/moby,michael-holzheu/docker,ajaymdesai/docker,JMesser81/docker,KingEmet/docker,jvanz/docker,unclejack/docker,lixiaobing10051267/docker,msabansal/docker,yummypeng/docker,mkumatag/docker,13W/docker,dperny/docker,docker/docker,AkihiroSuda/docker,paralin/docker,harche/docker,cpuguy83/docker,yosifkit/docker,tagomoris/docker,sdurrheimer/docker,kolyshkin/moby,moul/docker,gnailuy/docker,lixiaobing1/docker,rremer/moby,dsau/docker,justyntemme/docker,nawawi/docker,Syntaxide/docker,liaoqingwei/docker,paralin/docker,tklauser/docker,thtanaka/docker,Ramzec/docker,resin-io/docker,flavio/docker,alfred-landrum/docker,pramodhkp/moby,ibuildthecloud/docker,HideoYamauchi/docker,thaJeztah/docker,splunk/docker,moypray/docker,brahmaroutu/docker,yongtang/docker,mixja/docker,tklauser/docker,raja-sami-10p/moby,yasiramin10p/moby,scotttlin/docker,kunalkushwaha/docker,dsheets/moby,JMesser81/docker,thaJeztah/docker,justyntemme/docker,x1022as/docker,YuPengZTE/docker,mtrmac/docker,darrenstahlmsft/docker,ripcurld0/moby,afein/docker,Mokolea/docker