use correct packages
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m51s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m51s
This commit is contained in:
@@ -263,7 +263,7 @@ func (h *RemoteHost) Negotiate(knownHosts []string) ([]string, error) {
|
||||
}
|
||||
|
||||
func (g *RemoteHost) GetCartMappings() ([]CartId, error) {
|
||||
data, err := g.Call(GetCartIds, CartIdsResponse, nil)
|
||||
data, err := g.Call(GetCartIds, CartIdsResponse, []byte{})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -359,7 +359,7 @@ func (p *SyncedPool) addRemoteHost(address string, remote *RemoteHost) error {
|
||||
}
|
||||
|
||||
func (h *RemoteHost) Ping() error {
|
||||
_, err := h.Call(Ping, Pong, nil)
|
||||
_, err := h.Call(Ping, Pong, []byte{})
|
||||
|
||||
if err != nil {
|
||||
h.MissedPings++
|
||||
@@ -379,7 +379,7 @@ func (p *SyncedPool) AddRemote(host string) error {
|
||||
if err != nil {
|
||||
log.Printf("Error connecting to remote %s: %v\n", host, err)
|
||||
}
|
||||
_, err = client.Call(Ping, Pong, nil)
|
||||
_, err = client.Call(Ping, Pong, []byte{})
|
||||
|
||||
if err != nil {
|
||||
log.Printf("Error pinging remote %s: %v\n", host, err)
|
||||
|
||||
Reference in New Issue
Block a user