add default port
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m46s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m46s
This commit is contained in:
@@ -33,6 +33,9 @@ type RemoteGrain struct {
|
||||
}
|
||||
|
||||
func NewRemoteGrain(id CartId, address string) *RemoteGrain {
|
||||
if !strings.Contains(address, ":") {
|
||||
address = fmt.Sprintf("[%s]:1337", address)
|
||||
}
|
||||
return &RemoteGrain{
|
||||
Id: id,
|
||||
Address: address,
|
||||
|
||||
Reference in New Issue
Block a user