strange
Some checks failed
Build and Publish / BuildAndDeploy (push) Has been cancelled

This commit is contained in:
matst80
2024-11-10 00:12:17 +01:00
parent f45c40a1f2
commit b5475fa6c5
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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),