Skip to content

orchestration templates fail to parse when using get_file #1914

@andrein

Description

@andrein

When get_file is used in a template and the referenced file is not json/yaml, gophercloud throws the error: "Data in neither json nor yaml format."

It looks like this happens because get_file and type are treated exactly the same way, but get_file should not fail if the content is not json/yaml

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