Fix SME sonar job
Issue-ID: NONRTRIC-1033
Change-Id: I2a6415128d6328b1cd446010cb501313157d93b8
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
diff --git a/servicemanager/go.mod b/servicemanager/go.mod
index 0efcbaa..57a1849 100644
--- a/servicemanager/go.mod
+++ b/servicemanager/go.mod
@@ -6,6 +6,7 @@
github.com/deepmap/oapi-codegen v1.11.0
github.com/getkin/kin-openapi v0.106.0
github.com/go-resty/resty/v2 v2.10.0
+ github.com/google/uuid v1.3.0
github.com/joho/godotenv v1.5.1
github.com/labstack/echo/v4 v4.10.2
github.com/sirupsen/logrus v1.9.3
@@ -54,7 +55,6 @@
github.com/google/go-cmp v0.5.8 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
- github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/gosuri/uitable v0.0.4 // indirect
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
diff --git a/servicemanager/internal/envreader/envreader.go b/servicemanager/internal/envreader/envreader.go
index 315772e..5e757f1 100644
--- a/servicemanager/internal/envreader/envreader.go
+++ b/servicemanager/internal/envreader/envreader.go
@@ -241,4 +241,4 @@
// Return the mocked configuration for testing
myPorts, err := createMapPorts(m.MockedConfig)
return m.MockedConfig, myPorts, err
-}
\ No newline at end of file
+}
diff --git a/servicemanager/internal/publishservice/publishservice.go b/servicemanager/internal/publishservice/publishservice.go
index d042cd0..5735d89 100644
--- a/servicemanager/internal/publishservice/publishservice.go
+++ b/servicemanager/internal/publishservice/publishservice.go
@@ -369,4 +369,4 @@
}
err := ctx.JSON(code, pd)
return err
-}
\ No newline at end of file
+}