Skip to content

Empty (commented out) config file rejected #107

@farshidtz

Description

@farshidtz

A fully or partially commented out config file should be accepted. Top level keys must not be mandatory.

An empty config file is currently rejected and there are tests for that:

err: "failed to load config file: empty config file",
yaml: `
# Kernel command line parameters

Some other tests add keys to work around this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions