refactor code
refactor code

Signed-off-by: Victor Vieux <ce584ac70734cfa5a848cd28039798932c7ea675@docker.com>

LuisBosquez/docker.github.io,FreedomWangLi/swarm,yp-engineering/swarm,johnstep/docker.github.io,deis/swarm,docker-zh/docker.github.io,snrism/swarm,menglingwei/denverdino.github.io,unodba/swarm,CiaranCostello/swarm,cpuguy83/swarm,JimGalasyn/docker.github.io,denverdino/docker.github.io,menglingwei/denverdino.github.io,joeuo/docker.github.io,jimenez/swarm,Spritekin/swarm,srikalyan/swarm,londoncalling/docker.github.io,phiroict/docker,tangkun75/swarm,alexisbellido/docker.github.io,jay-lau/swarm,xFragger/swarm,liubin/swarm,johnstep/docker.github.io,jdamick/swarm,ricca742/swarm,docker-zh/docker.github.io,aduermael/docker.github.io,ezrasilvera/SwarmACLs,dims/swarm,denverdino/swarm,iaintshine/swarm,bpradipt/swarm,anweiss/docker.github.io,mgoelzer/swarm,cgvarela/swarm,troy0820/docker.github.io,shubheksha/docker.github.io,shot/swarm,parapsyche/swarm,phiroict/docker,raoofm/swarm,jimmycmh/swarm,joeuo/docker.github.io,Aorjoa/swarm,sfsmithcha/swarm,bdwill/docker.github.io,jay-lau/swarm,echupriyanov/swarm,morpheyesh/swarm,ezrasilvera/swarm,aduermael/docker.github.io,troy0820/docker.github.io,ch3lo/swarm,thaJeztah/docker.github.io,allencloud/swarm,thaJeztah/docker.github.io,denverdino/docker.github.io,denverdino/denverdino.github.io,jeffjen/swarm,LuisBosquez/docker.github.io,ejholmes/swarm,MHBauer/swarm,snrism/swarm,danix800/docker.github.io,troy0820/docker.github.io,denverdino/docker.github.io,rillig/docker.github.io,mountkin/swarm,sanscontext/docker.github.io,atlassian/swarm,LuisBosquez/docker.github.io,kyhavlov/swarm,shakamunyi/swarm,danix800/docker.github.io,francisbouvier/swarm,CodeNow/swarm,danix800/docker.github.io,BSWANG/swarm,yp-engineering/swarm,pssahi/swarm,EderRoger/swarm,swarm-hooks/swarm,alexisbellido/docker.github.io,rajdeepd/swarm,krystism/swarm,gdevillele/docker.github.io,joeuo/docker.github.io,rav121/swarm,shubheksha/docker.github.io,resouer/swarm,shin-/docker.github.io,londoncalling/docker.github.io,Aorjoa/swarm,jzwlqx/denverdino.github.io,EderRoger/swarm,ealang/swarm,FreedomWangLi/swarm,atlassian/swarm,jimmyxian/swarm,denverdino/denverdino.github.io,jzwlqx/denverdino.github.io,SivagnanamCiena/swarm,doronp/swarm,MHBauer/swarm,doronp/swarm,abronan/swarm,raoofm/swarm,u2mejc/swarm,gdevillele/docker.github.io,CodeNow/swarm,anweiss/docker.github.io,tranceitionalMynd/swarm,tranceitionalMynd/swarm,thaJeztah/docker.github.io,johnstep/docker.github.io,docker/docker.github.io,BSWANG/denverdino.github.io,BSWANG/denverdino.github.io,phiroict/docker,rillig/docker.github.io,errordeveloper/swarm,dims/swarm,adouang/swarm,denverdino/denverdino.github.io,kunalkushwaha/swarm,troy0820/docker.github.io,LukasBacigal/swarm,shubheksha/docker.github.io,shubheksha/docker.github.io,joeuo/docker.github.io,barais/swarm,joeuo/docker.github.io,docker/docker.github.io,dnephin/swarm,jimmycmh/swarm,cpuguy83/swarm,bsmr-docker/swarm,CiaranCostello/swarm,barais/swarm,jzwlqx/denverdino.github.io,marsmensch/swarm,denverdino/swarm-1,fugr/swarm,therealbill/swarm,shot/swarm,rillig/docker.github.io,ezrasilvera/SwarmACLs,mrjana/swarm,zkcrescent/swarm,johnstep/docker.github.io,bdwill/docker.github.io,alexisbellido/docker.github.io,joaofnfernandes/docker.github.io,jzwlqx/denverdino.github.io,menglingwei/denverdino.github.io,shin-/docker.github.io,shin-/docker.github.io,bdwill/docker.github.io,JimGalasyn/docker.github.io,akerbis/armhf-swarm,polyverse-security/swarm,christophelec/swarm,zkcrescent/swarm,srikalyan/swarm,errordeveloper/swarm,bdwill/docker.github.io,parapsyche/swarm,gonkulator/swarm,schmunk42/swarm,swarm-hooks/swarm,Spritekin/swarm,beni55/swarm-1,polyverse-security/swarm,LukasBacigal/swarm,bpradipt/swarm,joaofnfernandes/docker.github.io,NunoEdgarGub1/swarm,denverdino/swarm,megamsys/swarm,tangkun75/swarm,sanscontext/docker.github.io,joaofnfernandes/docker.github.io,kyhavlov/swarm,mavenugo/swarm,cgvarela/swarm,SivagnanamCiena/swarm,docker/docker.github.io,ricca742/swarm,jeffjen/swarm,qianzhangxa/swarm,auzias/swarm,aidora/pisces,schmunk42/swarm,sanscontext/docker.github.io,shin-/docker.github.io,denverdino/denverdino.github.io,mavenugo/swarm,PeoplePerHour/libswarm,rchicoli/swarm,sfsmithcha/swarm,rutulpatel/swarm,menglingwei/denverdino.github.io,bsmr-docker/swarm,anweiss/docker.github.io,joaofnfernandes/docker.github.io,phiroict/docker,mountkin/swarm,therealbill/swarm,gdevillele/docker.github.io,rajdeepd/swarm,shubheksha/docker.github.io,bdwill/docker.github.io,aidora/pisces,riuvshin/swarm,shakamunyi/swarm,pdevine/swarm,jimmyxian/swarm,shin-/docker.github.io,gdevillele/docker.github.io,shahankhatch/swarm,ch3lo/swarm,docker/docker.github.io,docker-zh/docker.github.io,menglingwei/denverdino.github.io,BSWANG/denverdino.github.io,ealang/swarm,johnstep/docker.github.io,beni55/swarm-1,LuisBosquez/docker.github.io,krystism/swarm,mgoelzer/swarm,rancher/swarm,unodba/swarm,dnephin/swarm,pssahi/swarm,shahankhatch/swarm,thaJeztah/docker.github.io,mrjana/swarm,denverdino/docker.github.io,francisbouvier/swarm,jzwlqx/denverdino.github.io,echupriyanov/swarm,aduermael/docker.github.io,denverdino/swarm-1,everett-toews/swarm,gradywang/swarm,BSWANG/denverdino.github.io,affo/swarm,morpheyesh/swarm,FollowMyDev/swarm,moxiegirl/swarm,affo/swarm,denverdino/docker.github.io,chanwit/swarm,londoncalling/docker.github.io,deis/swarm,christophelec/swarm,rutulpatel/swarm,pdevine/swarm,chanwit/swarm,auzias/swarm,docker-zh/docker.github.io,jdamick/swarm,gonkulator/swarm,resouer/swarm,vlajos/swarm,adouang/swarm,danix800/docker.github.io,linecheng/swarm,abronan/swarm,londoncalling/docker.github.io,akerbis/armhf-swarm,jimenez/swarm,qianzhangxa/swarm,aduermael/docker.github.io,megamsys/swarm,allencloud/swarm,marsmensch/swarm,ezrasilvera/swarm,kunalkushwaha/swarm,thaJeztah/docker.github.io,everett-toews/swarm,riuvshin/swarm,moxiegirl/swarm,alexisbellido/docker.github.io,xFragger/swarm,alexisbellido/docker.github.io,joaofnfernandes/docker.github.io,anweiss/docker.github.io,LuisBosquez/docker.github.io,sanscontext/docker.github.io,BSWANG/denverdino.github.io,anweiss/docker.github.io,JimGalasyn/docker.github.io,BSWANG/swarm,sanscontext/docker.github.io,linecheng/swarm,JimGalasyn/docker.github.io,rancher/swarm,JimGalasyn/docker.github.io,ehazlett/swarm,denverdino/denverdino.github.io,docker/docker.github.io,gdevillele/docker.github.io,iaintshine/swarm,rav121/swarm,fugr/swarm,PeoplePerHour/libswarm,rchicoli/swarm,phiroict/docker,gradywang/swarm,ejholmes/swarm,ehazlett/swarm,u2mejc/swarm,NunoEdgarGub1/swarm,FollowMyDev/swarm,rillig/docker.github.io,docker-zh/docker.github.io,vlajos/swarm,londoncalling/docker.github.io,liubin/swarm