mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #1552 from swordqiu/hotfix/qj-quota-replace-action
1. allow replace set quota when action=replace
This commit is contained in:
@@ -62,7 +62,7 @@ func init() {
|
||||
type QuotaSetOptions struct {
|
||||
Tenant string `help:"Tenant name or ID to set quota" json:"tenant,omitempty"`
|
||||
ProjectDomain string `help:"Domain name or ID to set quota" json:"domain,omitempty"`
|
||||
Action string `help:"quota set action" choices:"add|reset"`
|
||||
Action string `help:"quota set action" choices:"add|reset|replace"`
|
||||
Cascade bool `help:"cascade set quota so that auto increment domain quota if total project quota exceeds parent domain quota"`
|
||||
QuotaBaseOptions
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user