Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.
This repository was archived by the owner on May 3, 2022. It is now read-only.

Integer validation prints message as if floating point #842

@itowlson

Description

@itowlson

Definition:

    "port": {
      "type": "integer",
      "default": 8080,
      "minimum": 1000,
      "maximum": 9999
    }

Command:

duffle install sr141436 .\data\bundle.json -f --set port=8087789

Error message:

Error: cannot use value: 8087789 as parameter port: must be less than or equal to 9999.000000

I expected the bound to be printed as 9999 rather than 9999.000000.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions