Skip to content

Commit

Permalink
Merge pull request #232 from Praveen005/improveDoc
Browse files Browse the repository at this point in the history
Chore: rephrase the doc comment for GetVolumeSnapshot
  • Loading branch information
Praveen005 authored Jan 24, 2025
2 parents a78861d + 0d198a6 commit 21b9e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volume_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (c *Client) ListVolumeSnapshots() ([]VolumeSnapshot, error) {
return volumeSnapshots, nil
}

// GetVolumeSnapshot finds a volume by the full ID
// GetVolumeSnapshot retrieves a volume snapshot based on the provided snapshot ID.
func (c *Client) GetVolumeSnapshot(id string) (*VolumeSnapshot, error) {
resp, err := c.SendGetRequest(fmt.Sprintf("/v2/snapshots/%s?resource_type=volume", id))
if err != nil {
Expand Down

0 comments on commit 21b9e19

Please sign in to comment.