mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-01 14:58:03 +02:00
add always rule again
Signed-off-by: Ziming Zhang <zziming@vmware.com> Change-Id: I34bac3b73e693b89e0b9debb28617352656ed1d9
This commit is contained in:
parent
4944799f70
commit
f854d4a25d
@ -65,12 +65,6 @@ func (r *RetentionAPI) GetMetadatas() {
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rule_template": "nothing",
|
||||
"display_text": "none",
|
||||
"action": "retain",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"rule_template": "dayspl",
|
||||
@ -95,7 +89,19 @@ func (r *RetentionAPI) GetMetadatas() {
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"rule_template": "nothing",
|
||||
"display_text": "none",
|
||||
"action": "retain",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"rule_template": "always",
|
||||
"display_text": "always",
|
||||
"action": "retain",
|
||||
"params": []
|
||||
}
|
||||
],
|
||||
"scope_selectors": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user