Skip to content

Manila V2: Add get export location support#1932

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
kayrus:export-locations
Apr 10, 2020
Merged

Manila V2: Add get export location support#1932
jtopjian merged 1 commit intogophercloud:masterfrom
kayrus:export-locations

Conversation

@kayrus
Copy link
Copy Markdown
Contributor

@kayrus kayrus commented Apr 10, 2020

Resolves #380

List
Show

@kayrus kayrus force-pushed the export-locations branch from 79f7616 to 0a01bf8 Compare April 10, 2020 17:07
@coveralls
Copy link
Copy Markdown

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
Copy Markdown

theopenlab-ci bot commented Apr 10, 2020

Build succeeded.

@kayrus
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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