mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-24 12:32:55 +08:00
cloudir: 改正启动失败问题
```sh find pkg -name 'models' | while read d; do for f in $d/*.go; do case "$f" in */doc.go) ;; */initdb.go) ;; pkg/lbagent/models/*) ;; *) if grep -q 'Manager = ' $f; then grep -q 'SetVirtualObject' $f || echo $f fi ;; esac done done ```
This commit is contained in:
@@ -52,6 +52,7 @@ func init() {
|
||||
"service-registries",
|
||||
),
|
||||
}
|
||||
ServiceRegistryManager.SetVirtualObject(ServiceRegistryManager)
|
||||
}
|
||||
|
||||
func (manager *SServiceRegistryManager) Register(ctx context.Context, addr string, port int,
|
||||
|
||||
Reference in New Issue
Block a user