minder
minder copied to clipboard
minder datasource apply should use default project
Describe the issue
Invoking minder datasource apply on a file without a project id set in the context fails:
Message: error applying data source from datasource.yaml
Details: error creating data source from datasource.yaml: rpc error: code = InvalidArgument desc = context cannot be nil
exit status 3
Instead of the error, Minder should use the default project of the logged in user.
To Reproduce
Apply a data source without a project in the context section
What version are you using?
d26452d65750295d9c4450d17e953517caa32074
So... can do without the project by doing
context: {}
The issue is if it's nil.