fix: cleanup compile warnings (#12620)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2021-11-06 12:29:35 +08:00
committed by GitHub
co-authored by Qiu Jian
parent dfbd439135
commit 1b5ec22599
19 changed files with 17 additions and 436 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ func GetServiceUrl(ctx context.Context, serviceName string) (string, error) {
return "", err
}
log.Infof("params to list endpoint: %v", params)
log.Infof("ret to list endpoint: %s", ret)
log.Infof("ret to list endpoint: %s", jsonutils.Marshal(ret))
if len(ret.Data) == 0 {
return "", fmt.Errorf("no sucn endpoint with 'internal' interface and 'influxdb' service")
}