Skip to content

func invoke should handle/warn discrepency between function types. #3083

@dprotaso

Description

@dprotaso

I created a python function using func init I forgot to provide the -t cloudevents

When I tried invoking the function using func invoke -f=cloudevents it failed. I realize I had to add invoke: cloudevents to the func.yaml and perform a rebuild.

It would be great if func invoke could detect a mismatched type and provide a warning about the mismatch above.

Metadata

Metadata

Assignees

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