Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

SpotMarketRequest does not include Parameters #277

Open
displague opened this issue May 7, 2021 · 0 comments
Open

SpotMarketRequest does not include Parameters #277

displague opened this issue May 7, 2021 · 0 comments

Comments

@displague
Copy link
Contributor

SpotMarketRequest embeds SpotMarketRequestCreateRequest which includes Parameters.

This makes it seem like smr.Parameters should be available, as in:

smr := client.SpotMarketRequest.Get(id, nil)
fmt.Println(smr.Parameters.OperatingSystem)

However, this is not the case. Parameters is not returned by the API and should not be included in the SpotMarketRequest type.

Perhaps the API could be changed upstream to support this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant