Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 05c51dd

Browse files
author
Samuel Ortiz
committed
imageservice: Fix spelling/grammar errors
Signed-off-by: Samuel Ortiz <[email protected]>
1 parent 33be7e3 commit 05c51dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

openstack/imageservice/v2/images/requests.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (opts ListOpts) ToImageListQuery() (string, error) {
7474
return q.String(), nil
7575
}
7676

77-
// List imlements image list request
77+
// List implements image list request
7878
func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager {
7979
url := listURL(c)
8080

@@ -218,7 +218,7 @@ func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder
218218
return res
219219
}
220220

221-
// UpdateOptsBuilder implemets UpdateOptsBuilder
221+
// UpdateOptsBuilder implements UpdateOptsBuilder
222222
type UpdateOptsBuilder interface {
223223
// returns value implementing json.Marshaler which when marshaled matches the patch schema:
224224
// http://specs.openstack.org/openstack/glance-specs/specs/api/v2/http-patch-image-api-v2.html

openstack/imageservice/v2/images/results.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ func toMapFromString(from reflect.Kind, to reflect.Kind, data interface{}) (inte
378378
return data, nil
379379
}
380380

381-
// ExtractImages interprets the results of a single page from a List() call, producing a slice of Images entities.
381+
// ExtractImages interprets the results of a single page from a List() call, producing a slice of Image entities.
382382
func ExtractImages(page pagination.Page) ([]Image, error) {
383383
casted := page.(ImagePage).Body
384384

0 commit comments

Comments
 (0)