mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
fix: 提高zstack认证兼容性
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user