Adding servers API url to log file

This commit is contained in:
silversword411 2023-08-23 17:49:03 -04:00 committed by GitHub
parent 0777195423
commit fbdd47d0f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ package agent
import (
"fmt"
"os"
"os"asdf
"runtime"
"strconv"
"sync"
@ -51,7 +51,7 @@ var (
)
func (a *Agent) RunRPC() {
a.Logger.Infoln("Agent service started")
a.Logger.Infoln("Agent service started", a.ApiURL)
opts := a.setupNatsOptions()
nc, err := nats.Connect(a.NatsServer, opts...)