Closed fifiug closed 4 years ago
I decided to go with using a const that holds the template since I wasn't able to find a way to build the template into a go binary. Please let me know if that commit works
Maybe this?
LGTM. @StevenYCChou you own this review, please merge when you're satisfied with it.
@fifiug can you ensure the test passes?
@StevenYCChou test passed. My pull request can't access the COVERALLS_TOKEN so "make goveralls" fails
When trying to run $GOPATH/bin/stackdriver-prometheus-sidecar --help ,I get error panic: open statusz-tmpl.html: no such file or directory. Moving the intialization of the statuszTmpl to func ServeHTTP which allows the use of --help