Skip to content

Commit

Permalink
lxd/storage: remove unnecesary call to ensureInitialDatasets on `Cr…
Browse files Browse the repository at this point in the history
…eate`

Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
  • Loading branch information
hamistao committed Apr 18, 2024
1 parent 0bf192d commit f2ffa4e
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 f2ffa4e

Please sign in to comment.