Skip to content

2.0.0-beta.2 Some labels without value still show a 'null' valueΒ #5745

Closed
@jasonz3157

Description

@jasonz3157

πŸ“‘ I have found these related issues/pull requests

unable to find any related issues

πŸ›‘οΈ Security Policy

Description

Image

These two monitors have same label 'DNS' without value, but one of them show 'DNS: null'.

πŸ‘Ÿ Reproduction steps

Upgrade to 2.0.0-beta.2

πŸ‘€ Expected behavior

Only show label key if no value

πŸ˜“ Actual Behavior

Some labels show a 'null' value if no value

🐻 Uptime-Kuma Version

2.0.0-beta.2

πŸ’» Operating System and Arch

AlmaLinux 9.2

🌐 Browser

Edge 134

πŸ–₯️ Deployment Environment

  • Runtime: Docker 24.0.4
  • Database: sqlite
  • Filesystem used to store the database on: xfs
  • number of monitors: 67

πŸ“ Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions