From 69c9d67919792fda525623b16907786aec966b7a Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <manuel.kieweg@h-da.de>
Date: Mon, 19 Apr 2021 13:32:41 +0200
Subject: [PATCH] fix wrong logging outout

---
 test/integration/cmdIntegration_test.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/integration/cmdIntegration_test.go b/test/integration/cmdIntegration_test.go
index 5649a4449..5df324a9e 100644
--- a/test/integration/cmdIntegration_test.go
+++ b/test/integration/cmdIntegration_test.go
@@ -42,17 +42,17 @@ func testSetupIntegration() {
 	api := os.Getenv("GOSDN_TEST_API_ENDPOINT")
 	if api != "" {
 		testAPIEndpoint = api
-		log.Infof("GOSDN_TEST_API_ENDPOINT set to %v", testAddress)
+		log.Infof("GOSDN_TEST_API_ENDPOINT set to %v", testAPIEndpoint)
 	}
 	u := os.Getenv("GOSDN_TEST_USER")
 	if u != "" {
 		testUsername = u
-		log.Infof("GOSDN_TEST_USER set to %v", testAddress)
+		log.Infof("GOSDN_TEST_USER set to %v", testUsername)
 	}
 	p := os.Getenv("GOSDN_TEST_PASSWORD")
 	if p != "" {
 		testPassword = p
-		log.Infof("GOSDN_TEST_PASSWORD set to %v", testAddress)
+		log.Infof("GOSDN_TEST_PASSWORD set to %v", testPassword)
 	}
 
 	gnmiMessages = map[string]pb.Message{
-- 
GitLab