Skip to content

Commit

Permalink
lxd/storage/drivers: remove unnecessary call to ensureInitialDatasets
Browse files Browse the repository at this point in the history
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
  • Loading branch information
hamistao committed Mar 26, 2024
1 parent e9b6c34 commit 65094ba
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lxd/storage/drivers/driver_zfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,6 @@ func (d *zfs) Create() error {

revert.Add(func() { _ = d.Delete(nil) })

// Apply our default configuration.
err = d.ensureInitialDatasets(false)
if err != nil {
return err
}

revert.Success()
return nil
}
Expand Down

0 comments on commit 65094ba

Please sign in to comment.