From bcb8c9c3137e3a5504024c918dd7b3c5fe83cf8e Mon Sep 17 00:00:00 2001 From: rmanach Date: Fri, 4 Apr 2025 12:25:06 +0200 Subject: [PATCH] import order --- deployers/commons.go | 3 ++- deployers/nginx.go | 3 ++- deployers/swarm.go | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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")