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:
parent
1b3718f459
commit
e5f3cc14c1
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user