Skip to content

Commit 1adc599

Browse files
committed
Fix formatting in UpdateInstanceAllowedIPs function for consistency
1 parent e9a0563 commit 1adc599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func (c *Client) UpdateInstanceAllowedIPs(id string, allowedIPs []string) (*Simp
466466
"allowed_ips": allowedIPs,
467467
}
468468
// Send the payload map instead of the raw allowedIPs slice
469-
resp, err := c.SendPutRequest(fmt.Sprintf("/v2/instances/%s/allowed_ips", id), payload)
469+
resp, err := c.SendPutRequest(fmt.Sprintf("/v2/instances/%s/allowed_ips", id), payload)
470470
if err != nil {
471471
return nil, decodeError(err)
472472
}

0 commit comments

Comments
 (0)