Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minder datasource apply should use default project #5164

Open
puerco opened this issue Dec 9, 2024 · 1 comment
Open

minder datasource apply should use default project #5164

puerco opened this issue Dec 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@puerco
Copy link
Contributor

puerco commented Dec 9, 2024

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?

d26452d

@puerco puerco added the bug Something isn't working label Dec 9, 2024
@JAORMX
Copy link
Contributor

JAORMX commented Dec 9, 2024

So... can do without the project by doing

context: {}

The issue is if it's nil.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants