add optional endpoint to new client
This commit is contained in:
@@ -43,7 +43,7 @@ func NewStatusClient(serviceName, ip string, port uint, debug bool) (*StatusClie
|
||||
}
|
||||
|
||||
// connect underlying websocket client
|
||||
sc.client, err = models.NewClient(ip, serviceName, port, logger)
|
||||
sc.client, err = models.NewClient(serviceName, ip, "", port, logger)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user