Skip to content

SharedFileSystems v2: Restrict ExtractExportLocations to only GetExportLocationsResults - #449

Merged
jrperritt merged 3 commits into
gophercloud:masterfrom
jtopjian:sfsv2-fix-exportlocations-extract
Aug 11, 2017
Merged

jrperritt merged 3 commits into
gophercloud:masterfrom
jtopjian:sfsv2-fix-exportlocations-extract

Conversation

@jtopjian

Copy link
Copy Markdown
Contributor

For #448

@jtopjian
jtopjian requested a review from jrperritt August 11, 2017 02:20
@coveralls

coveralls commented Aug 11, 2017 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 71.492% when pulling baa149b on jtopjian:sfsv2-fix-exportlocations-extract into 4ecdf7c on gophercloud:master.

// GetExportLocationsResult contains the result body and error from an
// GetExportLocations request.
type GetExportLocationsResult struct {
commonResult

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.

This isn't a commonResult, is it? Does it return a Share in addition to an ExportLocation? If not, why should the method below stay ExtractExportLocations instead of Extract?

@jtopjian

Copy link
Copy Markdown
Contributor Author

All good questions. Thank you.

@coveralls

coveralls commented Aug 11, 2017 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 71.492% when pulling f2be267 on jtopjian:sfsv2-fix-exportlocations-extract into 4ecdf7c on gophercloud:master.

@coveralls

coveralls commented Aug 11, 2017 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 71.492% when pulling f2be267 on jtopjian:sfsv2-fix-exportlocations-extract into 4ecdf7c on gophercloud:master.

// GetExportLocationsResult contains the result body and error from an
// GetExportLocations request.
type GetExportLocationsResult struct {
gophercloud.Result

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.

👍

@jrperritt
jrperritt merged commit 8a1afad into gophercloud:master Aug 11, 2017
jobrs pushed a commit to sapcc/gophercloud that referenced this pull request Aug 17, 2017
…rtLocationsResults (gophercloud#449)

* SharedFileSystems v2: Restrict ExtractExportLocations to only GetExportLocationsResults

* SharedFileSystems v2: Further changes to ExportLocations results

* SharedFileSystems v2: Fix comment
@jtopjian
jtopjian deleted the sfsv2-fix-exportlocations-extract branch April 24, 2018 03:13
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.

3 participants