-
Notifications
You must be signed in to change notification settings - Fork 554
[manila] add share_group_id to share's CreateOpts #3205
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
Conversation
@EmilienM can you approve this? |
d0050f9
to
f8007ee
Compare
@pierreprinetti @mdbooth @EmilienM kindly ping |
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.
Marshalling looks correct. Does this need tests?
/lgtm
@@ -40,6 +40,8 @@ type CreateOpts struct { | ||
SnapshotID string `json:"snapshot_id,omitempty"` | ||
// Determines whether or not the share is public | ||
IsPublic *bool `json:"is_public,omitempty"` | ||
// The UUID of the share group. Available starting from the microversion 2.31 | ||
ShareGroupID string `json:"share_group_id,omitempty"` |
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.
@@ -54,6 +54,8 @@ type Share struct { | ||
ShareType string `json:"share_type"` | ||
// The name of the share type. | ||
ShareTypeName string `json:"share_type_name"` | ||
// The UUID of the share group. Available starting from the microversion 2.31 | ||
ShareGroupID string `json:"share_group_id"` |
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.
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.
can't we have tests?
in order to have tests we need to implement a |
Partially fixes the #3204