Skip to content

Setting 'weight: 0' for a configured service doesn't result in it being sorted correctly #4649

Closed Answered by okunze
okunze asked this question in Support
Discussion options

You must be logged in to vote

I did not specify a “weight” in the Docker labels for the “discovered services” themselves.

But I was able to solve my problem.

In my old configuration, I had configured "weight” like this:

settings.yaml:
- Monitoring:
    - Grafana - Dashboard 1:
        weight: 0
        icon: /icons/grafana.png
        href: {REDACTED}

However, if I put the “weight” in quotation marks, then the “configured services” are sorted correctly.

settings.yaml:
- Monitoring:
    - Grafana - Dashboard 1:
        weight: "0"
        icon: /icons/grafana.png
        href: {REDACTED}

Thanks for the help.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by okunze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants