Skip to content

Commit 9fc7ac8

Browse files
Fixed formatting for Private Image Sharing Tests (#845)
1 parent 1da7c96 commit 9fc7ac8

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

test/integration/image_sharegroups_test.go

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,15 @@ func TestImageSharing_Suite(t *testing.T) {
196196
}
197197

198198
// Next, update the Shared Image
199-
imageShareUpdated, err := client.ImageShareGroupUpdateImageShareEntry(context.Background(), imageShareGroup.ID, imageShare.ID, linodego.ImageShareGroupUpdateImageOptions{
200-
Label: linodego.Pointer("Updated label"),
201-
Description: linodego.Pointer("Updated description"),
202-
})
199+
imageShareUpdated, err := client.ImageShareGroupUpdateImageShareEntry(
200+
context.Background(),
201+
imageShareGroup.ID,
202+
imageShare.ID,
203+
linodego.ImageShareGroupUpdateImageOptions{
204+
Label: linodego.Pointer("Updated label"),
205+
Description: linodego.Pointer("Updated description"),
206+
},
207+
)
203208
require.NoError(t, err)
204209
if imageShareUpdated.Label != "Updated label" || imageShareUpdated.Description != "Updated description" {
205210
t.Errorf("Failed to update Image Share with ID %s: ", imageShareUpdated.ID)

0 commit comments

Comments
 (0)