From c963937f00e08cabddbeca0f4f28a387b2f5668b Mon Sep 17 00:00:00 2001 From: BaiJiangJie Date: Mon, 30 Dec 2019 11:54:36 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E5=91=BD=E4=BB=A4=E5=AD=98=E5=82=A8?= =?UTF-8?q?ES=E5=AD=97=E6=AE=B5=E8=AE=BE=E7=BD=AE=E4=B8=BArequired?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/forms/storage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/terminal/forms/storage.py b/apps/terminal/forms/storage.py index 5a808b0d8..28092380e 100644 --- a/apps/terminal/forms/storage.py +++ b/apps/terminal/forms/storage.py @@ -149,7 +149,7 @@ class ReplayStorageSwiftForm(BaseReplayStorageForm): class CommandStorageTypeESForm(BaseCommandStorageForm): es_hosts = forms.CharField( - max_length=128, label=_('Hosts'), required=False, + max_length=128, label=_('Hosts'), required=True, help_text=_( """ Tips: If there are multiple hosts, separate them with a comma (,) @@ -159,8 +159,8 @@ class CommandStorageTypeESForm(BaseCommandStorageForm): ) ) es_index = forms.CharField( - max_length=128, label=_('Index'), required=False + max_length=128, label=_('Index'), required=True ) es_doc_type = forms.CharField( - max_length=128, label=_('Doc type'), required=False + max_length=128, label=_('Doc type'), required=True )