Skip to content

Removing IDFromName Functions#1897

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
jtopjian:idfromname
Mar 16, 2020
Merged

Removing IDFromName Functions#1897
jtopjian merged 1 commit intogophercloud:masterfrom
jtopjian:idfromname

Conversation

@jtopjian
Copy link
Copy Markdown
Contributor

For #1896

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.6%) to 78.746% when pulling 9355c8b on jtopjian:idfromname into 405a05e on gophercloud:master.

1 similar comment
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.6%) to 78.746% when pulling 9355c8b on jtopjian:idfromname into 405a05e on gophercloud:master.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Mar 15, 2020

Build succeeded.

@jtopjian jtopjian merged commit b49be8e into gophercloud:master Mar 16, 2020
// ImageName [optional; required if ImageRef is not provided] is the name of
// the image that contains the server's OS and initial state.
// Also optional if using the boot-from-volume extension.
ImageName string `json:"-"`
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.

Was removing the ImageName and FlavorName options intended? It was a nice convenience to be able to pass the service client and not have to worry about calling IDFromName(...) ourselves. If so, it might be worthwhile to remove the ServiceClient as an option from the CreateOpts here and possibly other packages as it serves no purpose anymore.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Yes, it was intended though I do agree that it removes some well-received convenience.

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