mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #5388 from swordqiu/hotfix/qj-keystone-prefer-internal-endpoint-type
fix: keystone prefers internal endpoint type
This commit is contained in:
@@ -82,13 +82,13 @@ func NewJointMonitorManager(keyword, keywordPlural string, columns, adminColumns
|
||||
|
||||
func NewIdentityManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager {
|
||||
return modulebase.ResourceManager{
|
||||
BaseManager: *modulebase.NewBaseManager("identity", "adminURL", "v2.0", columns, adminColumns),
|
||||
BaseManager: *modulebase.NewBaseManager("identity", "", "v2.0", columns, adminColumns),
|
||||
Keyword: keyword, KeywordPlural: keywordPlural}
|
||||
}
|
||||
|
||||
func NewIdentityV3Manager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager {
|
||||
return modulebase.ResourceManager{
|
||||
BaseManager: *modulebase.NewBaseManager("identity", "adminURL", "v3", columns, adminColumns),
|
||||
BaseManager: *modulebase.NewBaseManager("identity", "", "v3", columns, adminColumns),
|
||||
Keyword: keyword, KeywordPlural: keywordPlural}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user