Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
j-keck committed Apr 19, 2020
1 parent 11c4653 commit c9f7d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/zfs/dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (self *Dataset) CloneSnapshot(snapName, fsName string, flags []string) erro
snapName = self.Name + "@" + snapName
}

log.Debugf("clone snapshot: %s to %s", snapName)
log.Debugf("clone snapshot: %s to %s", snapName, fsName)
args := append(flags, snapName, fsName)
stdout, stderr, err := self.cmd.Exec("clone", args...)
log.Tracef("clone snapshot stdout: %s", stdout)
Expand Down
2 changes: 1 addition & 1 deletion pkg/zfs/zfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tank/sub 1 2 3 testdata/tank/subpool
`
zfs := new(ZFS)
zfs.cmd = NewZFSCmdMock(out, "", nil)
ds, err := zfs.scanDatasets("tank")
ds, _, err := zfs.scanDatasets("tank")
if err != nil {
t.Error(err)
}
Expand Down

0 comments on commit c9f7d60

Please sign in to comment.