Skip to content

finish script crashes hard on malformed YAML in limits.yaml #102

@boegel

Description

@boegel
[citc@mgmt ~]$ cat limits.yaml
c5d.2xlarge:10
[citc@mgmt ~]$ finish
Traceback (most recent call last):
  File "/usr/local/bin/update_config", line 89, in <module>
    node_config = "\n".join(get_node_configs(get_limits(), get_shapes(), get_mgmt_info(), get_nodespace()))
  File "/usr/local/bin/update_config", line 67, in get_node_configs
    for shape, shape_counts in limits.items():
AttributeError: 'str' object has no attribute 'items'

That's a pretty complicated way of saying "please add a space after the ':'" :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions