Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: alice-px <[email protected]>
  • Loading branch information
alicelyy committed Jan 25, 2024
1 parent 5295fe2 commit 4883009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volume/drivers/btrfs/btrfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (d *driver) Set(ctx context.Context, volumeID string, locator *api.VolumeLo
}

// Snapshot create new subvolume from volume
func (d *driver) Snapshot(volumeID string, readonly bool, locator *api.VolumeLocator, noRetry bool) (string, error) {
func (d *driver) Snapshot(ctx context.Context, volumeID string, readonly bool, locator *api.VolumeLocator, noRetry bool) (string, error) {
vols, err := d.Inspect([]string{volumeID})
if err != nil {
return "", err
Expand Down

0 comments on commit 4883009

Please sign in to comment.