Skip to content

RangeThreshold class pass float 0 to min or max bug #681

Open
@awesomeytj

Description

@awesomeytj

Specifications

  • Client Version:1.47.0
  • InfluxDB Version:2.7.10
  • Platform: docker on linux

Code sample to reproduce problem

threshold = RangeThreshold(level=CheckStatusLevel.OK, min=0, max=10, within=True)

Expected behavior

raise ValueError: Invalid value for min, must not be None

Actual behavior

use above code to create a check will raise error

Additional info

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions