-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added version to web interface. #195
Conversation
Codecov Report
@@ Coverage Diff @@
## development #195 +/- ##
===============================================
+ Coverage 93.79% 93.82% +0.02%
===============================================
Files 27 27
Lines 1741 1749 +8
===============================================
+ Hits 1633 1641 +8
Misses 80 80
Partials 28 28
Continue to review full report at Codecov.
|
Hi,
I think, it would be better to receive the event in Server (same logic as in metric_event_publisher) via event bus and not to duplicate the injection in the make file. Another approach would be to move the version number to a common place and inject it only once. What do you think? |
I moved version and build time to the util package (to avoid duplication of variables) and tested your PR -> looks good. I added also build time to the web interface, so the web UI shows the same information as the log file. Thanks for you work! |
Closes #203 |
I broke this out to its own little change since I wanted to get your feedback on using the makefile to put the version into server.go vs passing it along.
I am trying to decom my project https://github.com/Harnish/https-dns-proxy and move the fun bits into blocky.