fix: 提高zstack认证兼容性

This commit is contained in:
Qu Xuan
2020-08-06 19:25:25 +08:00
parent ed7576f2ac
commit 0d301c554c
+1 -1
View File
@@ -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,
}