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

Manila V2: Add get export location support #1932

Merged
merged 1 commit into from
Apr 10, 2020

Conversation

kayrus
Copy link
Contributor

@kayrus kayrus commented Apr 10, 2020

Resolves #380

List
Show

@coveralls
Copy link

coveralls commented Apr 10, 2020

Coverage Status

Coverage decreased (-0.004%) to 78.552% when pulling 0a01bf8 on kayrus:export-locations into 41239d7 on gophercloud:master.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 10, 2020

Build succeeded.

@kayrus
Copy link
Contributor Author

kayrus commented Apr 10, 2020

@jtopjian ready for review

_, r.Err = client.Get(getExportLocationsURL(client, id), &r.Body, nil)
// ListExportLocations will list shareID's export locations.
// Client must have Microversion set; minimum supported microversion for ListExportLocations is 2.9.
func ListExportLocations(client *gophercloud.ServiceClient, id string) (r ListExportLocationsResult) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with this change and will make note of it in the CHANGELOG. Originally, I think Get was found acceptable since there wasn't any paging.

Copy link
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thank you!

@jtopjian jtopjian merged commit 17ba7e9 into gophercloud:master Apr 10, 2020
@kayrus kayrus deleted the export-locations branch April 10, 2020 22:49
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

Successfully merging this pull request may close these issues.

Shared file systems: Share Export Locations
3 participants