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

BalenaApplicationNotFound: Application not found: 1234 #2077

Closed
pdcastro opened this issue Oct 28, 2020 · 0 comments · Fixed by #2081
Closed

BalenaApplicationNotFound: Application not found: 1234 #2077

pdcastro opened this issue Oct 28, 2020 · 0 comments · Fixed by #2081
Labels

Comments

@pdcastro
Copy link
Contributor

balena app 1234 should have worked in the example below, but it fails.

$ balena app create 1234 --type raspberrypi3
Application created: gh_paulo_castro/1234 (raspberrypi3, id 1758993)
$ balena apps
ID      APP NAME         SLUG                            DEVICE TYPE           ONLINE DEVICES DEVICE COUNT
1758993 1234             gh_paulo_castro/1234            raspberrypi3          0              0
1301645 test-rpi         gh_paulo_castro/test-rpi        raspberrypi3          0              3
...
$ balena app 1234
BalenaApplicationNotFound: Application not found: 1234
$ balena app test-rpi
== TEST RPI
ID:          1301645
DEVICE TYPE: raspberrypi3
SLUG:        gh_paulo_castro/test-rpi
COMMIT:      e3b2bb404a385ed8af1dac8b9043b8da

The reason is explained in issue #1842 Resource names that look like numbers are treated as IDs / short UUIDs.

srlowe added a commit that referenced this issue Nov 2, 2020
Change-type: patch
Resolves: #2077
Signed-off-by: Scott Lowe <[email protected]>
srlowe added a commit that referenced this issue Nov 4, 2020
Change-type: patch
Resolves: #2077
Signed-off-by: Scott Lowe <[email protected]>
srlowe added a commit that referenced this issue Nov 5, 2020
Change-type: patch
Resolves: #2077
Signed-off-by: Scott Lowe <[email protected]>
srlowe added a commit that referenced this issue Nov 5, 2020
Change-type: patch
Resolves: #2077
Signed-off-by: Scott Lowe <[email protected]>
srlowe added a commit that referenced this issue Nov 6, 2020
Change-type: patch
Resolves: #2077
Signed-off-by: Scott Lowe <[email protected]>
@ghost ghost closed this as completed in #2081 Nov 6, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant