Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin-telecom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
wendelin-telecom
Commits
de82baa9
Commit
de82baa9
authored
Oct 21, 2024
by
Paul Graydon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wendelin_telecom_base: Update ERP5Site_registerOrs tag check
parent
0a1c18a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/wendelin_telecom_base/SkinTemplateItem/portal_skins/wendelin_telecom_base/ERP5Site_registerOrs.py
...ortal_skins/wendelin_telecom_base/ERP5Site_registerOrs.py
+2
-1
No files found.
bt5/wendelin_telecom_base/SkinTemplateItem/portal_skins/wendelin_telecom_base/ERP5Site_registerOrs.py
View file @
de82baa9
...
...
@@ -22,8 +22,9 @@ if data_acquisition_unit:
response_dict
=
dict
(
error_msg
=
error_msg
)
return
json
.
dumps
(
response_dict
)
# Check if the fluentbit tag has a valid format
fluentbit_tag_components
=
fluentbit_tag
.
split
(
'_'
)
if
len
(
fluentbit_tag_components
)
!=
3
:
if
len
(
fluentbit_tag_components
)
not
in
[
2
,
3
]
:
error_msg
=
"Invalid ORS tag %s found"
%
fluentbit_tag
response_dict
=
dict
(
error_msg
=
error_msg
)
return
json
.
dumps
(
response_dict
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment