mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
fix: mcclient code cleanup 20221106 (#15310)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -60,9 +60,8 @@ func getServerAttrs(ID string, s *mcclient.ClientSession) (map[string]string, er
|
||||
}
|
||||
|
||||
func getInfluxdbURL() (string, error) {
|
||||
|
||||
s := auth.GetAdminSessionWithPublic(nil, "")
|
||||
url, err := s.GetServiceURL("influxdb", apiidentity.EndpointInterfacePublic, "")
|
||||
url, err := s.GetServiceURL("influxdb", apiidentity.EndpointInterfacePublic)
|
||||
|
||||
if err != nil {
|
||||
log.Errorf("get influxdb Endpoint error %s", err)
|
||||
|
||||
Reference in New Issue
Block a user