Skip to content

Commit 9b5b95c

Browse files
Copilot suggestions
1 parent 12b8d6a commit 9b5b95c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

image_sharegroups_consumer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,13 @@ func (c *Client) ImageShareGroupListTokens(ctx context.Context, opts *ListOption
141141
return getPaginatedResults[ImageShareGroupToken](
142142
ctx,
143143
c,
144-
"/images/sharegroups/tokens",
144+
"images/sharegroups/tokens",
145145
opts,
146146
)
147147
}
148148

149149
// ImageShareGroupGetToken gets information about the specified ImageShareGroupToken created by the user.
150-
// the tokens themselves are only visible once upon creation.
150+
// The tokens themselves are only visible once upon creation.
151151
// NOTE: May not currently be available to all users and can only be used with v4beta.
152152
func (c *Client) ImageShareGroupGetToken(ctx context.Context, tokenUUID string) (*ImageShareGroupToken, error) {
153153
return doGETRequest[ImageShareGroupToken](
@@ -202,7 +202,7 @@ func (c *Client) ImageShareGroupGetByToken(ctx context.Context, tokenUUID string
202202
)
203203
}
204204

205-
// ImageShareGroupGetImageShareEntriesByToken lists the im_ImageShare entriess in the ImageShareGroup that the
205+
// ImageShareGroupGetImageShareEntriesByToken lists the shared image entries in the ImageShareGroup that the
206206
// consumer's specified token has been accepted into.
207207
// NOTE: May not currently be available to all users and can only be used with v4beta.
208208
func (c *Client) ImageShareGroupGetImageShareEntriesByToken(ctx context.Context, tokenUUID string, opts *ListOptions) ([]ImageShareEntry, error) {

image_sharegroups_producer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func (c *Client) DeleteImageShareGroup(ctx context.Context, imageShareGroupID in
207207
)
208208
}
209209

210-
// ImageShareGroupListImageShareEntries lists the im_ImageShare entries of a specified ImageShareGroup owned by the producer.
210+
// ImageShareGroupListImageShareEntries lists the shared image entries of a specified ImageShareGroup owned by the producer.
211211
// NOTE: May not currently be available to all users and can only be used with v4beta.
212212
func (c *Client) ImageShareGroupListImageShareEntries(
213213
ctx context.Context,

images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ type ImageSharingSharedBy struct {
8787
SourceImageID *string `json:"source_image_id"`
8888
}
8989

90-
// ImageShareEntry represents a row in the im_ImageShare entries for an ImageShareGroup
90+
// ImageShareEntry represents a shared image entry for an ImageShareGroup
9191
type ImageShareEntry struct {
9292
ID string `json:"id"`
9393
CreatedBy *string `json:"created_by"`

0 commit comments

Comments
 (0)