removed unused param

This commit is contained in:
dencoded 2020-02-28 15:06:29 -05:00
parent 747de03bc5
commit f8b155294a
2 changed files with 2 additions and 2 deletions

View file

@ -390,7 +390,7 @@ func main() {
wg.Add(1) wg.Add(1)
go func() { go func() {
defer wg.Done() defer wg.Done()
soloAgent.Start(flagSoloINDIServerAddr, regInfo.SessionID, regInfo.SessionIDPublic) soloAgent.Start(regInfo.SessionID, regInfo.SessionIDPublic)
}() }()
wg.Wait() wg.Wait()

View file

@ -48,7 +48,7 @@ func New(indiServerAddr string, tunnel INDIHubSoloTunnel, ccdDrivers []string) *
} }
} }
func (p *Agent) Start(indiServerAddr string, sessionID uint64, sessionToken string) error { func (p *Agent) Start(sessionID uint64, sessionToken string) error {
// open connection to real INDI-server // open connection to real INDI-server
var err error var err error
p.indiConn, err = net.Dial("tcp", p.indiServerAddr) p.indiConn, err = net.Dial("tcp", p.indiServerAddr)