From 57af7dd99885f5f146efb97a7571417138fade47 Mon Sep 17 00:00:00 2001
From: Neil Schark <neil.schark@h-da.de>
Date: Thu, 22 Aug 2024 09:54:25 +0000
Subject: [PATCH] remove not needed nolint

---
 integration-tests/application_tests/application_test.go       | 2 +-
 integration-tests/example_tests/example_test.go               | 2 +-
 integration-tests/lab_tests/lab00_test.go                     | 2 +-
 integration-tests/networkElement_tests/networkElement_test.go | 2 +-
 integration-tests/rbac_tests/rbac_test.go                     | 2 +-
 integration-tests/topology_tests/topology_test.go             | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/integration-tests/application_tests/application_test.go b/integration-tests/application_tests/application_test.go
index bb2d89481..9b3797a55 100644
--- a/integration-tests/application_tests/application_test.go
+++ b/integration-tests/application_tests/application_test.go
@@ -44,7 +44,7 @@ var defaultSDNConfig string
 
 var application *Application
 
-func TestMain(m *testing.M) { //nolint:staticcheck
+func TestMain(m *testing.M) {
 	localConn, localCtx, err := integration_test_utils.CreateSecureConnection()
 	if err != nil {
 		fmt.Println(err.Error())
diff --git a/integration-tests/example_tests/example_test.go b/integration-tests/example_tests/example_test.go
index 9ce5e5a3d..03f52081b 100644
--- a/integration-tests/example_tests/example_test.go
+++ b/integration-tests/example_tests/example_test.go
@@ -18,7 +18,7 @@ var ctx context.Context
 // A defaultSDN config with default/empty values.
 var defaultSDNConfig string
 
-func TestMain(m *testing.M) { //nolint:staticcheck
+func TestMain(m *testing.M) {
 	localConn, localCtx, err := integration_test_utils.CreateSecureConnection()
 	if err != nil {
 		fmt.Println(err.Error())
diff --git a/integration-tests/lab_tests/lab00_test.go b/integration-tests/lab_tests/lab00_test.go
index d641811d1..a2c5be701 100644
--- a/integration-tests/lab_tests/lab00_test.go
+++ b/integration-tests/lab_tests/lab00_test.go
@@ -29,7 +29,7 @@ var ctx context.Context
 // A defaultSDN config with default/empty values.
 var defaultSDNConfig string
 
-func TestMain(m *testing.M) { //nolint:staticcheck
+func TestMain(m *testing.M) {
 	localConn, localCtx, err := integration_test_utils.CreateSecureConnection()
 	if err != nil {
 		fmt.Println(err.Error())
diff --git a/integration-tests/networkElement_tests/networkElement_test.go b/integration-tests/networkElement_tests/networkElement_test.go
index 99942da0a..3765a25b0 100644
--- a/integration-tests/networkElement_tests/networkElement_test.go
+++ b/integration-tests/networkElement_tests/networkElement_test.go
@@ -35,7 +35,7 @@ var ctx context.Context
 // A defaultSDN config with default/empty values.
 var defaultSDNConfig string
 
-func TestMain(m *testing.M) { //nolint:staticcheck
+func TestMain(m *testing.M) {
 	localConn, localCtx, err := integration_test_utils.CreateSecureConnection()
 	if err != nil {
 		fmt.Println(err.Error())
diff --git a/integration-tests/rbac_tests/rbac_test.go b/integration-tests/rbac_tests/rbac_test.go
index c198a21ac..44cbc4fc1 100644
--- a/integration-tests/rbac_tests/rbac_test.go
+++ b/integration-tests/rbac_tests/rbac_test.go
@@ -28,7 +28,7 @@ var ctx context.Context
 // A defaultSDN config with default/empty values.
 var defaultSDNConfig string
 
-func TestMain(m *testing.M) { //nolint:staticcheck
+func TestMain(m *testing.M) {
 	localConn, localCtx, err := integration_test_utils.CreateSecureConnection()
 	if err != nil {
 		fmt.Println(err.Error())
diff --git a/integration-tests/topology_tests/topology_test.go b/integration-tests/topology_tests/topology_test.go
index 603896d39..54c625541 100644
--- a/integration-tests/topology_tests/topology_test.go
+++ b/integration-tests/topology_tests/topology_test.go
@@ -20,7 +20,7 @@ var ctx context.Context
 // A defaultSDN config with default/empty values.
 var defaultSDNConfig string
 
-func TestMain(m *testing.M) { //nolint:staticcheck
+func TestMain(m *testing.M) {
 	localConn, localCtx, err := integration_test_utils.CreateSecureConnection()
 	//localConn, localCtx, err := integration_test_utils.CreateConnection()
 	if err != nil {
-- 
GitLab