Skip to content

Commit

Permalink
make ce linter happy
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
  • Loading branch information
asergunov committed Feb 26, 2025
1 parent 0515f0e commit a2e6bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/agent/src/internal/utils/volume_cleanup_ce.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ import (
"agent/internal/logger"
)

func VolumeCleanup(_ context.Context, _ logger.Logger, _ BlockDeviceOpener, _, _, _ string) error {
func VolumeCleanup(_ context.Context, _ logger.Logger, _ BlockDeviceOpener, _, _, _ string, _ *RangeCover) error {
return fmt.Errorf("volume cleanup is not supported in your edition")
}
2 changes: 1 addition & 1 deletion images/agent/src/internal/utils/volume_cleanup_ce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var _ = Describe("Cleaning up volume", func() {
Expect(err).NotTo(HaveOccurred())
})
It("Unsupported", func() {
err := VolumeCleanup(context.Background(), log, nil, "", "", "")
err := VolumeCleanup(context.Background(), log, nil, "", "", "", nil)
Expect(err).To(MatchError("volume cleanup is not supported in your edition"))
})
})

0 comments on commit a2e6bcb

Please sign in to comment.