From 894927ffd2457c4d5b15cd08c230f6777c203e6d Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Thu, 26 Oct 2023 11:16:59 -0700 Subject: [PATCH] internal/host: fix inconsistent receiver (#3894) This is a lint error but wasn't caught because it was a historic problem. It's appearing again now because we're adding another method to this type as part of the pagination workflow. --- internal/host/plugin/immutable_fields_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/host/plugin/immutable_fields_test.go b/internal/host/plugin/immutable_fields_test.go index 5c3b7dc2a..8b85391a3 100644 --- a/internal/host/plugin/immutable_fields_test.go +++ b/internal/host/plugin/immutable_fields_test.go @@ -166,8 +166,8 @@ func TestPluginSet_ImmutableFields(t *testing.T) { } } -func (c *HostSet) testCloneHostSet() *HostSet { - cp := proto.Clone(c.HostSet) +func (s *HostSet) testCloneHostSet() *HostSet { + cp := proto.Clone(s.HostSet) return &HostSet{ HostSet: cp.(*store.HostSet), }