mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-02 15:56:46 +08:00
Add etcd as a service discovery mechanism
This commit is contained in:
parent
6b1f7a4407
commit
bc305f910e
@ -212,7 +212,6 @@ func Check(ctx context.Context, etcdServers []string, etcdRoot string, createIfN
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "failed to create the root node in etcd")
|
||||
}
|
||||
fmt.Printf("Root node %s did not exist, but has been created.\n", etcdRoot)
|
||||
} else {
|
||||
return fmt.Errorf("root node %s does not exist in etcd", etcdRoot)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user