Merge pull request #8696 from bitsf/tag_retention_always_rule

add always rule again
This commit is contained in:
Wenkai Yin(尹文开) 2019-08-15 18:49:28 +08:00 committed by GitHub
commit 98ca45c93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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": [
{