append correct port
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m56s

This commit is contained in:
matst80
2024-11-10 19:09:30 +01:00
parent b8f964b4ff
commit 7a4d9b1540

View File

@@ -1,6 +1,7 @@
package main package main
import ( import (
"fmt"
"strings" "strings"
"sync" "sync"
) )
@@ -28,7 +29,7 @@ type RemoteGrain struct {
} }
func NewRemoteGrain(id CartId, address string) (*RemoteGrain, error) { func NewRemoteGrain(id CartId, address string) (*RemoteGrain, error) {
client, err := CartDial(address) client, err := CartDial(fmt.Sprintf("%s:1337", address))
if err != nil { if err != nil {
return nil, err return nil, err
} }