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

CLI: "app get" app.yaml fallback only searches name, not scoped by owner #4818

Closed
theduke opened this issue Jun 6, 2024 — with Linear · 0 comments · Fixed by #4822
Closed

CLI: "app get" app.yaml fallback only searches name, not scoped by owner #4818

theduke opened this issue Jun 6, 2024 — with Linear · 0 comments · Fixed by #4822
Labels
bug Something isn't working edge-cli

Comments

Copy link
Contributor

theduke commented Jun 6, 2024

When invoking wasmer app get without a specifier, it tries to read a local app.yaml file.

If the file does not specify an app_id, it should try to search by name.
It does do so, but it appears that it currently does not scope by the owner specified in the app.yaml, but instead searches the currently active user.

This was probably not updated after adding the owner field.

Eg:

❯ wasmer app get
error: Could not find app with name 'wordpress-starter-instaboot'

vs

❯ wasmer app get wasmer-tests/wordpress-starter-instaboot
id: da_RxJIdtAUWYxK
kind: wasmer.io/App.v0
name: wordpress-starter-instaboot
owner: wasmer-tests
...

@xdoardo @ayys

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

Successfully merging a pull request may close this issue.

1 participant