mirror of
https://github.com/vale981/agent
synced 2025-03-04 17:11:40 -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)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
soloAgent.Start(flagSoloINDIServerAddr, regInfo.SessionID, regInfo.SessionIDPublic)
|
||||
soloAgent.Start(regInfo.SessionID, regInfo.SessionIDPublic)
|
||||
}()
|
||||
|
||||
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
|
||||
var err error
|
||||
p.indiConn, err = net.Dial("tcp", p.indiServerAddr)
|
||||
|
|
Loading…
Add table
Reference in a new issue