From c62b86863fd53ed98a666b546dc04bb0122a487b Mon Sep 17 00:00:00 2001 From: "jaehoon.hyun" Date: Wed, 24 Apr 2019 10:48:24 +0900 Subject: [PATCH] discovery_init.go : bug fix gServer Not dynamic allocate variable Change-Id: If4583a2a4930b0091bab2d1ec7f2ae25a3664155 --- src/discoverymgr/discovery_init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discoverymgr/discovery_init.go b/src/discoverymgr/discovery_init.go index c4330e0..047a875 100755 --- a/src/discoverymgr/discovery_init.go +++ b/src/discoverymgr/discovery_init.go @@ -37,7 +37,7 @@ func InitDiscovery() (err error) { go func() { - gServer, err := registerDevice(getMacAddr(pollGettingOutBoundIP())) + gServer, err = registerDevice(getMacAddr(pollGettingOutBoundIP())) if err != nil { log.Println(logPrefix, err) -- 2.7.4