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

asdf list-all benthos produces an error #4

Open
peick opened this issue Aug 26, 2024 · 2 comments
Open

asdf list-all benthos produces an error #4

peick opened this issue Aug 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@peick
Copy link

peick commented Aug 26, 2024

Calling asdf list-all benthos produces the error:

❯ asdf list-all benthos     
Plugin benthos's list-all callback script failed with output:
jq: error (at <stdin>:5): Cannot index string with string "name"

How to reproduce

Follow the README with an asdf installation where the benthos plugin is not installed yet:

❯ asdf plugin add benthos
❯ asdf plugin update benthos
❯ asdf list-all benthos
@peick peick added the bug Something isn't working label Aug 26, 2024
@peick
Copy link
Author

peick commented Aug 26, 2024

Looks like a -L is missing in the curl command.

After adding them I get the desired output:

❯ asdf list-all benthos                  
4.11.0
4.11.0-rc1
4.12.0
4.12.1
4.13.0
4.14.0
4.15.0
4.16.0
4.17.0
4.18.0
4.19.0
4.20.0
4.21.0
4.22.0
4.23.0
4.24.0
4.25.0
4.25.0-rc1
4.25.0-rc2
4.25.1
4.26.0
4.27.0
4.28.0
4.29.0
4.30.0
4.30.1
4.31.0
4.32.1
4.33.0
4.33.0-rc4

@mihaitodor
Copy link
Member

Hey @peick, thank you for reporting this issue. The project went through a transition as mentioned on the Redpanda blog and the ASDF plugin hasn't been updated. I took a quick stab at making it work, so please feel free to try the latest commit (bee003d).

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