openziti / ziti-console

https://openziti.io
Apache License 2.0
23 stars 15 forks source link

[object Object] shown for configuration ports #54

Closed dmuensterer closed 1 year ago

dmuensterer commented 1 year ago

When executing the following command, a configuration is created that shows [object Object] as the port number in ziti-console, please see screenshot attached: ziti edge create config log.intercept.v1 intercept.v1 '{"protocols":["tcp"],"addresses":["127.0.0.1"], "portRanges":[{"low":4000, "high":4000}]}' I assume this is only a display issue of expecting a string instead of an object

Screenshot 2022-09-28 at 17 31 05
dovholuknf commented 1 year ago

@JeremyTellier - can you replicate and fix this issue please? thanks!

dovholuknf commented 1 year ago

Thanks for the issue @dmuensterer. We'll get that patched up soon. Cheers. Actually - this is maybe a good #hacktoberfest thing too so if someone wants to contribute that, it might be easy enough. I'll label it that way in case

JeremyTellier commented 1 year ago

Fixed in Commit #2c3f28a