From a1e32d0af543bc6a13aa2ad31d9c3f5456118470 Mon Sep 17 00:00:00 2001
From: armingol <pablo.armingolrobles@telefonica.com>
Date: Mon, 15 Jan 2024 15:56:59 +0000
Subject: [PATCH] code cleanup

---
 src/webui/service/service/forms.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/webui/service/service/forms.py b/src/webui/service/service/forms.py
index 80476870a..b3fffcc89 100644
--- a/src/webui/service/service/forms.py
+++ b/src/webui/service/service/forms.py
@@ -90,7 +90,7 @@ class AddServiceForm_ACL_L2(FlaskForm):
     #PARAMETERS FOR Associating ACL to IF 
     interface           = StringField('Interface Name', validators=[CustomInputRequired("The name of the Interface is a mandatory parameter")])
     subinterface        = StringField('Subinterface Index', validators=[Optional()])
-    traffic_flow        = SelectField('ACL Traffic Flow Direction', choices=[('', 'Select a direction (Mandatory)'), ('Ingress', 'Ingress'), ('Egress','Egress')], validators=[CustomInputRequired("The direction of the traffic flow is a mandatory parameter")])                                             #MANDATORY PARAMETER
+    traffic_flow        = SelectField('ACL Traffic Flow Direction', choices=[('', 'Select a direction (Mandatory)'), ('Ingress', 'Ingress'), ('Egress','Egress')], validators=[CustomInputRequired("The direction of the traffic flow is a mandatory parameter")])
 
     #SPECIFIC PARAMETERS - Creating ACL Entry [ACL_L2]
     source_mac          = StringField('Source MAC Address', validators=[Optional(), validate_mac_address])  
@@ -259,4 +259,3 @@ class AddServiceForm_L3VPN(FlaskForm):
     Device_2_IF_address_ip  = StringField('Device_2 IP Address', validators=[CustomInputRequired(), validate_ipv4_address])
     Device_2_IF_address_prefix = IntegerField('Device_2 IP Prefix length', validators=[CustomInputRequired(), validate_uint32])
     Device_2_IF_description = StringField ('Device_2 SubIF Description', validators=[Optional()])
-                                                     
\ No newline at end of file
-- 
GitLab