diff --git a/lxd/storage/drivers/driver_ceph.go b/lxd/storage/drivers/driver_ceph.go index df6d1fb19588..05ab2fc98fcb 100644 --- a/lxd/storage/drivers/driver_ceph.go +++ b/lxd/storage/drivers/driver_ceph.go @@ -440,7 +440,7 @@ func (d *ceph) GetResources() (*api.ResourcesStoragePool, error) { return &res, nil } -// MigrationType returns the type of transfer methods to be used when doing migrations between pools in preference order. +// MigrationTypes returns the type of transfer methods to be used when doing migrations between pools in preference order. func (d *ceph) MigrationTypes(contentType ContentType, refresh bool, copySnapshots bool) []migration.Type { var rsyncFeatures []string diff --git a/lxd/storage/drivers/driver_mock.go b/lxd/storage/drivers/driver_mock.go index 7cc397418bcb..0d8bc1827fa2 100644 --- a/lxd/storage/drivers/driver_mock.go +++ b/lxd/storage/drivers/driver_mock.go @@ -37,14 +37,17 @@ func (d *mock) Info() Info { } } +// FillConfig populates the driver's config with default values func (d *mock) FillConfig() error { return nil } +// Create is called during pool creation func (d *mock) Create() error { return nil } +// Delete removes a storage pool func (d *mock) Delete(op *operations.Operation) error { return nil }