You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using the python cli, both calls to disco syslog:add and syslog:remove fail
the call to syslog:remove fails because of a problem in the CLI - the cli function assumes it will get host but it actually gets disco. but that's a separate problem
it looks like syslog_post isn't getting the action parameter correctly?
when calling disco syslog:add --disco 5.161.208.12 "syslog+tls://server.com:1234" (I use a real server url when running it locally), I see in the disco logs:
disco.1.g8bdkwi2tfm7zazjnbivvs0ug 2024-04-11T02:55:14Z File "/disco/app/disco/endpoints/syslog.py", line 38, in syslog_post
disco.1.g8bdkwi2tfm7zazjnbivvs0ug 2024-04-11T02:55:14Z assert add_remove_syslog.action == "remove"
disco.1.g8bdkwi2tfm7zazjnbivvs0ug 2024-04-11T02:55:14Z AssertionError
which means that the if add_remove_syslog.action == "add":line didn't work..?
The text was updated successfully, but these errors were encountered:
gregsadetsky
changed the title
syslog_post not working correctly?syslog_post not working correctly?
Apr 11, 2024
when using the python cli, both calls to
disco syslog:add
andsyslog:remove
failthe call to
syslog:remove
fails because of a problem in the CLI - the cli function assumes it will gethost
but it actually getsdisco
. but that's a separate problemthe bigger issue is here:
disco-daemon/disco/endpoints/syslog.py
Line 30 in 77a6585
it looks like
syslog_post
isn't getting theaction
parameter correctly?when calling
disco syslog:add --disco 5.161.208.12 "syslog+tls://server.com:1234"
(I use a real server url when running it locally), I see in the disco logs:which means that the
if add_remove_syslog.action == "add":
line didn't work..?The text was updated successfully, but these errors were encountered: