summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces_ethernet.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-09-19 12:27:28 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-09-20 11:35:30 -0500
commit8e902ffa7019d2e2c0849af6fd26461ca4abba16 (patch)
treec29904fa541d5496729ed7f480e87c2d54d393fd /src/conf_mode/interfaces_ethernet.py
parent394c2ad60b9d78b516facd9509493f719643323c (diff)
downloadvyos-1x-8e902ffa7019d2e2c0849af6fd26461ca4abba16.tar.gz
vyos-1x-8e902ffa7019d2e2c0849af6fd26461ca4abba16.zip
http-api: T6326: return full warning/error output through api
Configuration error output is not returned in full to the http-api when running under vyos-configd, due to an early implementation 'workaround' of vyos-configd writing directly to the session tty. This is corrected to return all ambient stdout (notably vyos.base.Warning) and error messages directly to the originating caller, which may be from a session tty or a ConfigSession instance. As the http-api runs in the latter case, the full output is returned.
Diffstat (limited to 'src/conf_mode/interfaces_ethernet.py')
0 files changed, 0 insertions, 0 deletions