Skip to content

ClientConfig fails on secure.yaml absence #145

@vooon

Description

@vooon

GetCloudFromYAML start to return error unable to load secure.yaml: no secure.yml file found.

This condition is wrong:

if err.Error() == "no secure.yaml file found" {

Instead of string comparison need to define error (or use standard) + errors.Is().

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