Skip to content

BUG: in _validate_hardware_tier_id #174

@dmbaker

Description

@dmbaker

BUG!!!

This method is being passed a dict in the parameter hardware_tier_id, but the equality test expects a string!

1152 if hardware_tier_id == hardware_tier["hardwareTier"]["id"]:
1153 return True
-> 1154 raise exceptions.HardwareTierNotFoundException(
1155 f"{hardware_tier_id} hardware tier Id not found"
1156 )

HardwareTierNotFoundException: {'value': 'small-k8s'} hardware tier Id not found

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