Adding servers API url to log file
This commit is contained in:
parent
0777195423
commit
fbdd47d0f8
@ -13,7 +13,7 @@ package agent
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"asdf
|
||||||
"runtime"
|
"runtime"
|
||||||
"strconv"
|
"strconv"
|
||||||
"sync"
|
"sync"
|
||||||
@ -51,7 +51,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (a *Agent) RunRPC() {
|
func (a *Agent) RunRPC() {
|
||||||
a.Logger.Infoln("Agent service started")
|
a.Logger.Infoln("Agent service started", a.ApiURL)
|
||||||
|
|
||||||
opts := a.setupNatsOptions()
|
opts := a.setupNatsOptions()
|
||||||
nc, err := nats.Connect(a.NatsServer, opts...)
|
nc, err := nats.Connect(a.NatsServer, opts...)
|
||||||
|
Loading…
Reference in New Issue
Block a user