Skip to content

Manila V2: Add get export location support - #1932

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

jtopjian merged 1 commit into
gophercloud:masterfrom
kayrus:export-locations

Conversation

@kayrus

@kayrus kayrus commented Apr 10, 2020

Copy link
Copy Markdown
Contributor

Resolves #380

List
Show

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

coveralls commented Apr 10, 2020 •

Copy link
Copy Markdown

Coverage Status

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

@theopenlab-ci

theopenlab-ci Bot commented Apr 10, 2020

Copy link
Copy Markdown

Build succeeded.

@kayrus

kayrus commented Apr 10, 2020

Copy link
Copy Markdown
Contributor Author

@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.

@jtopjian jtopjian left a comment

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.

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