mirror of
https://github.com/vale981/agent
synced 2025-03-05 09:31:39 -05:00
removed unused param
This commit is contained in:
parent
747de03bc5
commit
f8b155294a
2 changed files with 2 additions and 2 deletions
2
main.go
2
main.go
|
@ -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()
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue