Merge pull request #8561 from bitsf/tag_retention_update_ui

remove rule always
This commit is contained in:
Wenkai Yin(尹文开) 2019-08-06 12:32:03 +08:00 committed by GitHub
commit 0fd375c7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 17 deletions

View File

@ -88,18 +88,6 @@ func (r *RetentionAPI) GetMetadatas() {
"required": true "required": true
} }
] ]
},
{
"rule_template": "always",
"display_text": "always",
"action": "retain",
"params": [
{
"type": "int",
"unit": "COUNT",
"required": true
}
]
} }
], ],
"scope_selectors": [ "scope_selectors": [

View File

@ -1095,7 +1095,7 @@
"ADD_SYSTEM": "ADD SYSTEM" "ADD_SYSTEM": "ADD SYSTEM"
}, },
"TAG_RETENTION": { "TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy", "TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules", "RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images", "RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1093,7 +1093,7 @@
"ADD_SYSTEM": "ADD SYSTEM" "ADD_SYSTEM": "ADD SYSTEM"
}, },
"TAG_RETENTION": { "TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy", "TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules", "RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images", "RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1065,7 +1065,7 @@
"ADD_SYSTEM": "ADD SYSTEM" "ADD_SYSTEM": "ADD SYSTEM"
}, },
"TAG_RETENTION": { "TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy", "TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules", "RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images", "RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1090,7 +1090,7 @@
"ADD_SYSTEM": "ADD SYSTEM" "ADD_SYSTEM": "ADD SYSTEM"
}, },
"TAG_RETENTION": { "TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy", "TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules", "RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images", "RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1091,7 +1091,7 @@
"ADD_SYSTEM": "添加系统白名单" "ADD_SYSTEM": "添加系统白名单"
}, },
"TAG_RETENTION": { "TAG_RETENTION": {
"TAG_RETENTION": "Tag保留策略", "TAG_RETENTION": "Tag保留",
"RETENTION_RULES": "保留规则", "RETENTION_RULES": "保留规则",
"RULE_NAME_1": "最近{{number}}天的镜像", "RULE_NAME_1": "最近{{number}}天的镜像",
"RULE_NAME_2": "最近活跃的{{number}}个镜像", "RULE_NAME_2": "最近活跃的{{number}}个镜像",