Skip to content

Commit dc7858d

Browse files
Fix in-line doc for UpdateInstance function (#761)
Co-authored-by: Zhiwei Liang <[email protected]>
1 parent d10106f commit dc7858d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instances.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ func (c *Client) CreateInstance(ctx context.Context, opts InstanceCreateOptions)
344344
return doPOSTRequest[Instance](ctx, c, "linode/instances", opts)
345345
}
346346

347-
// UpdateInstance creates a Linode instance
347+
// UpdateInstance updates a Linode instance
348348
func (c *Client) UpdateInstance(ctx context.Context, linodeID int, opts InstanceUpdateOptions) (*Instance, error) {
349349
e := formatAPIPath("linode/instances/%d", linodeID)
350350
return doPUTRequest[Instance](ctx, c, e, opts)

0 commit comments

Comments
 (0)