mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-11-05 15:31:49 +08:00
Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'c67e949e68b27e937e532e2ab907d2814aafb805': host ping catalog add elasticsearch service
This commit is contained in:
@@ -2331,7 +2331,8 @@ func (self *SHost) PerformPing(ctx context.Context, userCred mcclient.TokenCrede
|
||||
}
|
||||
result := jsonutils.NewDict()
|
||||
result.Set("name", jsonutils.NewString(self.GetName()))
|
||||
catalog := auth.GetCatalogData([]string{"ntpd", "kafka", "influxdb"}, options.Options.Region)
|
||||
dependSvcs := []string{"ntpd", "kafka", "influxdb", "elasticsearch"}
|
||||
catalog := auth.GetCatalogData(dependSvcs, options.Options.Region)
|
||||
if catalog == nil {
|
||||
return nil, fmt.Errorf("Get catalog error")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user