-
Notifications
You must be signed in to change notification settings - Fork 35
Disk Image Feature #244
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
Disk Image Feature #244
Conversation
The ListDiskImages function now accepts an optional includeCustom parameter to filter custom disk images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
disk_image.go:34
- [nitpick] The JSON key for image size is 'image_size_bytes' in the request struct but 'image_size' in the response struct. Consider aligning these names for consistency if it fits the API design.
ImageSize int64 `json:"image_size_bytes"` // Changed from image_size to image_size_bytes
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
disk_image.go:48
- [nitpick] The 'ImageSize' field in CreateDiskImageResponse uses a JSON tag 'image_size', which differs from the 'image_size_bytes' tag used in CreateDiskImageParams. Consider aligning these tags for consistency.
ImageSize int64 `json:"image_size"`
alessandroargentieri
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.