From 0d301c554cc566ada5c73b0a0e755a49d62c7537 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Thu, 6 Aug 2020 19:23:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=90=E9=AB=98zstack=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/multicloud/zstack/zstack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/multicloud/zstack/zstack.go b/pkg/multicloud/zstack/zstack.go index b71a175846..73e80db93c 100644 --- a/pkg/multicloud/zstack/zstack.go +++ b/pkg/multicloud/zstack/zstack.go @@ -59,7 +59,7 @@ type ZstackClientConfig struct { func NewZstackClientConfig(authURL, username, password string) *ZstackClientConfig { cfg := &ZstackClientConfig{ - authURL: authURL, + authURL: strings.TrimSuffix(authURL, "/"), username: username, password: password, }