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

Private Images Not Included in List Command #297

Open
utkonos opened this issue Nov 18, 2022 · 0 comments
Open

Private Images Not Included in List Command #297

utkonos opened this issue Nov 18, 2022 · 0 comments

Comments

@utkonos
Copy link

utkonos commented Nov 18, 2022

The vagrant digitalocean-list images does not include private images that are available on the account belonging to the token provided. I looked at the client:

https://github.com/devopsgroup-io/vagrant-digitalocean/blob/master/lib/vagrant-digitalocean/helpers/client.rb

It looks like this handles pagination, so that I don't think is the issue (private images are always at the end of the list of images. This can be page 2 and on. So, if pagination is not implemented properly, they will never be in the list.

In the API documentation there is a query parameter that can be used to filter for only private images. /v2/images?private=true

https://docs.digitalocean.com/reference/api/api-reference/#operation/images_list:~:text=type%3Dapplication.-,User%20Images,-To%20retrieve%20only

@utkonos utkonos closed this as completed May 26, 2023
@utkonos utkonos closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2023
@utkonos utkonos reopened this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant