Skip to content

Commit

Permalink
lxd/storage: Fix linter errors
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Hershberger <[email protected]>
  • Loading branch information
MggMuggins committed Aug 28, 2024
1 parent ce97c2c commit a0917f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/storage/drivers/driver_ceph.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions lxd/storage/drivers/driver_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ func (d *mock) Info() Info {
}
}

// FillConfig populates the driver's config with default values

Check failure on line 40 in lxd/storage/drivers/driver_mock.go

View workflow job for this annotation

GitHub Actions / Code

Comment should end in a period (godot)
func (d *mock) FillConfig() error {
return nil
}

// Create is called during pool creation

Check failure on line 45 in lxd/storage/drivers/driver_mock.go

View workflow job for this annotation

GitHub Actions / Code

Comment should end in a period (godot)
func (d *mock) Create() error {
return nil
}

// Delete removes a storage pool

Check failure on line 50 in lxd/storage/drivers/driver_mock.go

View workflow job for this annotation

GitHub Actions / Code

Comment should end in a period (godot)
func (d *mock) Delete(op *operations.Operation) error {
return nil
}
Expand Down

0 comments on commit a0917f2

Please sign in to comment.