rename root_dataset to root_fs for receiving-side jobs

This commit is contained in:
Christian Schwarz
2018-10-11 18:00:23 +02:00
parent 0c3a694470
commit 125b561df3
9 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ func (m *modeSink) RunPeriodic(_ context.Context) {}
func modeSinkFromConfig(g *config.Global, in *config.SinkJob) (m *modeSink, err error) {
m = &modeSink{}
m.rootDataset, err = zfs.NewDatasetPath(in.RootDataset)
m.rootDataset, err = zfs.NewDatasetPath(in.RootFS)
if err != nil {
return nil, errors.New("root dataset is not a valid zfs filesystem path")
}