mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-07 06:02:09 +08:00
fix: remove apiversion param from session
This commit is contained in:
@@ -128,7 +128,6 @@ func (h *APIHelper) adminClientSession(ctx context.Context) *mcclient.ClientSess
|
||||
}
|
||||
|
||||
region := h.opts.CommonOptions.Region
|
||||
apiVersion := "v2"
|
||||
h.mcclientSession = auth.GetAdminSession(ctx, region, apiVersion)
|
||||
h.mcclientSession = auth.GetAdminSession(ctx, region)
|
||||
return h.mcclientSession
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user