From 4883009d6c7cf6fac46ccd0db236c932cfd814a4 Mon Sep 17 00:00:00 2001 From: alice-px Date: Thu, 25 Jan 2024 14:41:37 -0800 Subject: [PATCH] update Signed-off-by: alice-px --- volume/drivers/btrfs/btrfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volume/drivers/btrfs/btrfs.go b/volume/drivers/btrfs/btrfs.go index a6d2d771e..e93ae23bb 100644 --- a/volume/drivers/btrfs/btrfs.go +++ b/volume/drivers/btrfs/btrfs.go @@ -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