Skip to content

Commit cdbf94f

Browse files
Update proxmox/nodes/containers/containers.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Alexander Petermann <[email protected]>
1 parent 2c2f804 commit cdbf94f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxmox/nodes/containers/containers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,11 @@ func (c *Client) WaitForContainerConfigUnlock(ctx context.Context, ignoreErrorRe
371371
return nil
372372
}
373373

374-
// Resize Disk
374+
// ResizeContainerDisk resizes a container disk.
375375
func (c *Client) ResizeContainerDisk(ctx context.Context, d *ResizeRequestBody) error {
376376
err := c.DoRequest(ctx, http.MethodPut, c.ExpandPath("resize"), d, nil)
377377
if err != nil {
378-
return fmt.Errorf("error resize disk: %w", err)
378+
return fmt.Errorf("error resizing container disk: %w", err)
379379
}
380380

381381
return nil

0 commit comments

Comments
 (0)