diff --git a/src/core/api/retention.go b/src/core/api/retention.go index 8df14d321..1caee7c1d 100644 --- a/src/core/api/retention.go +++ b/src/core/api/retention.go @@ -88,18 +88,6 @@ func (r *RetentionAPI) GetMetadatas() { "required": true } ] - }, - { - "rule_template": "always", - "display_text": "always", - "action": "retain", - "params": [ - { - "type": "int", - "unit": "COUNT", - "required": true - } - ] } ], "scope_selectors": [ diff --git a/src/portal/src/i18n/lang/en-us-lang.json b/src/portal/src/i18n/lang/en-us-lang.json index efb5a4cd3..d16c25246 100644 --- a/src/portal/src/i18n/lang/en-us-lang.json +++ b/src/portal/src/i18n/lang/en-us-lang.json @@ -1095,7 +1095,7 @@ "ADD_SYSTEM": "ADD SYSTEM" }, "TAG_RETENTION": { - "TAG_RETENTION": "Tag Retention Policy", + "TAG_RETENTION": "Tag Retention", "RETENTION_RULES": "Retention rules", "RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_2": " the most recent active {{number}} images", diff --git a/src/portal/src/i18n/lang/es-es-lang.json b/src/portal/src/i18n/lang/es-es-lang.json index 641307de5..789e35071 100644 --- a/src/portal/src/i18n/lang/es-es-lang.json +++ b/src/portal/src/i18n/lang/es-es-lang.json @@ -1093,7 +1093,7 @@ "ADD_SYSTEM": "ADD SYSTEM" }, "TAG_RETENTION": { - "TAG_RETENTION": "Tag Retention Policy", + "TAG_RETENTION": "Tag Retention", "RETENTION_RULES": "Retention rules", "RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_2": " the most recent active {{number}} images", diff --git a/src/portal/src/i18n/lang/fr-fr-lang.json b/src/portal/src/i18n/lang/fr-fr-lang.json index fef270863..3a63e1124 100644 --- a/src/portal/src/i18n/lang/fr-fr-lang.json +++ b/src/portal/src/i18n/lang/fr-fr-lang.json @@ -1065,7 +1065,7 @@ "ADD_SYSTEM": "ADD SYSTEM" }, "TAG_RETENTION": { - "TAG_RETENTION": "Tag Retention Policy", + "TAG_RETENTION": "Tag Retention", "RETENTION_RULES": "Retention rules", "RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_2": " the most recent active {{number}} images", diff --git a/src/portal/src/i18n/lang/pt-br-lang.json b/src/portal/src/i18n/lang/pt-br-lang.json index 65fc63a5f..71c45af79 100644 --- a/src/portal/src/i18n/lang/pt-br-lang.json +++ b/src/portal/src/i18n/lang/pt-br-lang.json @@ -1090,7 +1090,7 @@ "ADD_SYSTEM": "ADD SYSTEM" }, "TAG_RETENTION": { - "TAG_RETENTION": "Tag Retention Policy", + "TAG_RETENTION": "Tag Retention", "RETENTION_RULES": "Retention rules", "RULE_NAME_1": " the images from the last {{number}} days", "RULE_NAME_2": " the most recent active {{number}} images", diff --git a/src/portal/src/i18n/lang/zh-cn-lang.json b/src/portal/src/i18n/lang/zh-cn-lang.json index 0a93a2e08..6c7d57b6c 100644 --- a/src/portal/src/i18n/lang/zh-cn-lang.json +++ b/src/portal/src/i18n/lang/zh-cn-lang.json @@ -1091,7 +1091,7 @@ "ADD_SYSTEM": "添加系统白名单" }, "TAG_RETENTION": { - "TAG_RETENTION": "Tag保留策略", + "TAG_RETENTION": "Tag保留", "RETENTION_RULES": "保留规则", "RULE_NAME_1": "最近{{number}}天的镜像", "RULE_NAME_2": "最近活跃的{{number}}个镜像",