From 2949eb541d001b77de66922ddf9417f0b9196e9c Mon Sep 17 00:00:00 2001 From: Paul van Santen Date: Tue, 30 Apr 2024 07:14:32 +0200 Subject: [PATCH] Make SendDataset take full dataset name --- job/runner.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/job/runner.go b/job/runner.go index 30a4a4e..edc3fd7 100644 --- a/job/runner.go +++ b/job/runner.go @@ -194,12 +194,11 @@ func (r *Runner) ListCurrentSends() []ZFSSend { } // SendDataset can be used to trigger send for a specific dataset. -// Should be just the path from the parent dataset to the dataset to be sent. // Do not include the snapshot part of the dataset. // Blocking call, will block until one of the send goroutines has picked // up the call. If sending is disabled, will block forever. func (r *Runner) SendDataset(dataset string) { - r.sendChan <- r.fullDatasetName(dataset) + r.sendChan <- dataset } func (r *Runner) runCreateSnapshots() {