[XAPID-1002] use dedicated conf variable for tracker endpoint
diff --git a/init.go b/init.go index 5daffba..279af34 100644 --- a/init.go +++ b/init.go
@@ -40,6 +40,7 @@ configConcurrentDownloads = "apigeesync_concurrent_downloads" configDownloadQueueSize = "apigeesync_download_queue_size" configBlobServerBaseURI = "apigeesync_blob_server_base" + configTrackerServerBaseURI = "gatewaydeploy_tracker_server_base" configStoragePath = "local_storage_path" maxIdleConnsPerHost = 10 httpTimeout = time.Minute @@ -120,7 +121,7 @@ // initialize tracker client client := &trackerClient{ - trackerBaseUrl: configApiServerBaseURI, + trackerBaseUrl: config.GetString(configTrackerServerBaseURI), clusterId: apidClusterId, httpclient: &http.Client{ Transport: &http.Transport{