internal/test: fix "unused-receiver" linting

internal/test/cli.go:211:7: unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)
    func (c *FakeCli) BuildKitEnabled() (bool, error) {
          ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2025-02-17 14:04:12 +01:00
parent 1b3718f459
commit e5f3cc14c1
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -208,6 +208,6 @@ func EnableContentTrust(c *FakeCli) {
}
// BuildKitEnabled on the fake cli
func (c *FakeCli) BuildKitEnabled() (bool, error) {
func (*FakeCli) BuildKitEnabled() (bool, error) {
return true, nil
}