Skip to content

Commit

Permalink
Manager's IP address is never set in sync cluster mode (#4939)
Browse files Browse the repository at this point in the history
Signed-off-by: Changxin Miao <miaochangxin@step.ai>
  • Loading branch information
polyrabbit authored and SandyXSD committed Jun 20, 2024
1 parent 8c1188e commit b70501a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sync/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func startManager(config *Config, tasks <-chan object.Object) (string, error) {
if ip == "" {
return "", fmt.Errorf("no local ip found")
}
addr = ip
}

if !strings.Contains(addr, ":") {
Expand Down

0 comments on commit b70501a

Please sign in to comment.