Skip to content

Commit

Permalink
fix(backend): redis ssd变更为tendisplus不支持问题修复 #9099
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 29428
  • Loading branch information
ygcyao authored Jan 16, 2025
1 parent 151ca49 commit 9e5938f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions dbm-ui/backend/ticket/builders/redis/redis_toolbox_shard_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from backend.configuration.constants import AffinityEnum
from backend.db_meta.models import Cluster
from backend.db_services.dbbase.constants import IpSource
from backend.db_services.version.utils import query_versions_by_key
from backend.flow.engine.controller.redis import RedisController
from backend.ticket import builders
from backend.ticket.builders.common.base import SkipToRepresentationMixin
Expand Down Expand Up @@ -67,15 +66,6 @@ def validate(self, attr):
)
)

if attr.get("db_version") not in query_versions_by_key(cluster.cluster_type):
raise serializers.ValidationError(
_("集群({}):{} 类集群不支持版本 {}.").format(
cluster.immute_domain,
cluster.cluster_type,
attr.get("db_version"),
)
)

return attr

data_check_repair_setting = DataCheckRepairSettingSerializer()
Expand Down

0 comments on commit 9e5938f

Please sign in to comment.