waitForTaskCompletion is a private wrapper for backward compatibility with snapshots.
(upid string, operationName string)
| 201 | |
| 202 | // waitForTaskCompletion is a private wrapper for backward compatibility with snapshots. |
| 203 | func (c *Client) waitForTaskCompletion(upid string, operationName string) error { |
| 204 | // Snapshots typically complete within 2 minutes |
| 205 | return c.WaitForTaskCompletion(upid, operationName, 2*time.Minute) |
| 206 | } |
| 207 | |
| 208 | // DeleteSnapshot deletes a snapshot from a VM or container. |
| 209 | func (c *Client) DeleteSnapshot(vm *VM, snapshotName string) error { |
no test coverage detected