Skip to content

Commit

Permalink
feature: 全新部署根据 ENABLE_DHCP 选择初始化接入点版本 (closed TencentBlueKing#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyyalt committed Jun 19, 2023
1 parent 4738733 commit 16b7f4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from typing import List

from django.db import migrations
from django.db.models import QuerySet

from apps.node_man.constants import GSE_V2_PORT_DEFAULT_VALUE
from env.constants import GseVersion
Expand Down
1 change: 0 additions & 1 deletion apps/node_man/serializers/ap.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ class ZKSerializer(serializers.Serializer):
bscp_config = serializers.DictField(_("BSCP配置"), required=False)
outer_callback_url = serializers.CharField(label=_("节点管理外网回调地址"), required=False, allow_blank=True)
callback_url = serializers.CharField(label=_("节点管理内网回调地址"), required=False, allow_blank=True)
gse_version = serializers.CharField(label="GSE_VERSION", required=False, default=GseVersion.V1.value)

def validate(self, data):
gse_version_list: List[str] = list(set(AccessPoint.objects.values_list("gse_version", flat=True)))
Expand Down

0 comments on commit 16b7f4c

Please sign in to comment.