diff --git a/deployers/commons.go b/deployers/commons.go index 58e4a6c..96f09fc 100644 --- a/deployers/commons.go +++ b/deployers/commons.go @@ -6,8 +6,9 @@ import ( "sync/atomic" "time" - "gitea.thegux.fr/hmdeploy/models" "github.com/rs/zerolog/log" + + "gitea.thegux.fr/hmdeploy/models" ) var ErrContextDone = errors.New("unable to execute, context done") diff --git a/deployers/nginx.go b/deployers/nginx.go index 7059b7f..24d6f6e 100644 --- a/deployers/nginx.go +++ b/deployers/nginx.go @@ -5,9 +5,10 @@ import ( "fmt" "path/filepath" + "github.com/rs/zerolog/log" + "gitea.thegux.fr/hmdeploy/connection" "gitea.thegux.fr/hmdeploy/models" - "github.com/rs/zerolog/log" ) // NginxDeployer handles the deployment of an Nginx configuration. diff --git a/deployers/swarm.go b/deployers/swarm.go index 762b793..3c8af9d 100644 --- a/deployers/swarm.go +++ b/deployers/swarm.go @@ -7,11 +7,12 @@ import ( "os" "path/filepath" + "github.com/rs/zerolog/log" + "gitea.thegux.fr/hmdeploy/connection" "gitea.thegux.fr/hmdeploy/docker" "gitea.thegux.fr/hmdeploy/models" "gitea.thegux.fr/hmdeploy/utils" - "github.com/rs/zerolog/log" ) var ErrSwarmDeployerNoArchive = errors.New("no archive found to be deployed")