This commit is contained in:
@@ -46,7 +46,7 @@ func (g *RemoteGrain) Connect() error {
|
||||
if !strings.Contains(addr, ":") {
|
||||
addr = fmt.Sprintf("%s:1337", addr)
|
||||
}
|
||||
log.Println("Connecting to", addr)
|
||||
log.Printf("Connecting to %s %s", addr, g.Address)
|
||||
client, err := net.Dial("tcp", addr)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -484,7 +484,7 @@ func (p *SyncedPool) AddRemote(address string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
pool := NewRemoteGrainPool(fmt.Sprintf(address, 1337))
|
||||
pool := NewRemoteGrainPool(address)
|
||||
remote := RemoteHost{
|
||||
connection: connection,
|
||||
queue: NewPacketQueue(connection),
|
||||
|
||||
Reference in New Issue
Block a user