Skip to content

Commit c7466a8

Browse files
Correct case for UnassignPlacementGroupLinodes (#496)
1 parent d8476ba commit c7466a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

placement_groups.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ func (c *Client) AssignPlacementGroupLinodes(
124124
)
125125
}
126126

127-
// UnAssignPlacementGroupLinodes un-assigns the specified Linodes from the given
127+
// UnassignPlacementGroupLinodes un-assigns the specified Linodes from the given
128128
// placement group.
129-
func (c *Client) UnAssignPlacementGroupLinodes(
129+
func (c *Client) UnassignPlacementGroupLinodes(
130130
ctx context.Context,
131131
id int,
132132
options PlacementGroupUnAssignOptions,

test/integration/placement_group_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func TestPlacementGroup_assignment(t *testing.T) {
101101
require.Equal(t, inst.PlacementGroup.AffinityType, pg.AffinityType)
102102

103103
// Ensure unassignment works as expected
104-
pg, err = client.UnAssignPlacementGroupLinodes(
104+
pg, err = client.UnassignPlacementGroupLinodes(
105105
context.Background(),
106106
pg.ID,
107107
linodego.PlacementGroupUnAssignOptions{

0 commit comments

Comments
 (0)