Skip to content

Startup message can have blank version #1709

@bboreham

Description

@bboreham

I see this at the top of my logs:

caller=main.go:68 msg="Starting Cortex" version="(version=, branch=, revision=)"

I guess something is supposed to put a value into those strings?
Maybe we would consider this approach, new with Go Modules: https://github.com/dlespiau/go-main-module-version

This is running image cortexproject/cortex:master-de231804 from Dockerhub.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions