f5-automation-config-converter
f5-automation-config-converter copied to clipboard
Update parser.js
sometimes nested objects in the config file are not indented and this causes the parser to break because the while loop doesn't exit and we reach the end of the object with no closing bracket detected.
the behavior can be observed in issue 99: https://github.com/f5devcentral/f5-automation-config-converter/issues/99
I've only tested this with ucs
argument and my conversion was able to complete successfully afterwards. I am not too certain if this change would impact anything else.
#99 might be a different issue than what I was facing actually
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::respond 200 content $static::html
}
}