Skip to content
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

Fixes Promtail User-Agent. #4716

Merged
merged 1 commit into from
Nov 9, 2021

Commits on Nov 9, 2021

  1. Fixes Promtail User-Agent.

    This was because promtail client was still user the old version.Version which is initialized at run-time via init.
    
    But if we use it also at init time there's no guarantee that the version will be set.
    
    So intead I'm using the original version variable stamped in the binary and not at runtime.
    
    Fixes grafana#4686
    
    Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
    cyriltovena committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    2320990 View commit details
    Browse the repository at this point in the history