Autocheck fixed
This commit is contained in:
parent
f8268d4ac0
commit
e013e9b9db
|
@ -237,14 +237,14 @@ func (c *Client) Connect() error {
|
||||||
Arguments: "?" + query.Encode(),
|
Arguments: "?" + query.Encode(),
|
||||||
AuthToken: authToken,
|
AuthToken: authToken,
|
||||||
}
|
}
|
||||||
queryJson, err := json.Marshal(querySingle)
|
queryJSON, err := json.Marshal(querySingle)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Errorf("Failed to parse init message %v", err)
|
logrus.Errorf("Failed to parse init message %v", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// Send Json
|
// Send Json
|
||||||
logrus.Debugf("Sending arguments and auth-token")
|
logrus.Debugf("Sending arguments and auth-token")
|
||||||
err = c.write(queryJson)
|
err = c.write(queryJSON)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue