@@ -24,7 +24,7 @@ class MasterIocSubs(BaseModel):
|
||||
Parses the configuration text and appends a new row before the closing bracket.
|
||||
"""
|
||||
quoted_service = f'"{service_name}"'
|
||||
new_row = f' {{ "{{{{ agebd_env }}}}", {quoted_service:<22} , "{starton}", "{autooff}" }}'
|
||||
new_row = f' {{ "{{{{ agebd_env_suffix }}}}", {quoted_service:<22} , "{starton}", "{autooff}" }}'
|
||||
|
||||
# Use regex to find the last closing curly brace of the configuration block
|
||||
# This targets the line that contains only a lone closing brace, optional spaces, and maybe a comma/semicolon.
|
||||
|
||||
@@ -25,5 +25,4 @@ hla_apps:
|
||||
- OPTICSFF-X09L
|
||||
- OPTICSFF-X10S
|
||||
- OPTICSFF-X11M
|
||||
- OPTICSFF-X12S
|
||||
- PLAYGROUND
|
||||
- OPTICSFF-X12S
|
||||
Reference in New Issue
Block a user