Skip to content

Functions in catalog should report better error message when functionConfig is missing #1953

@natasha41575

Description

@natasha41575

See test case fn-render/no-fnconfig.

The error message for set-label is failed to configure function: function config must be a ConfigMap or SetLabelConfig. This can be improved, e.g. missing functionConfig, must specify ConfigMap or SetLabelConfig.

All functions should have a good error message for a missing functionConfig.

cc @droot @mengqiy @Shell32-Natsu

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions