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.
This commit is contained in:
Johan Brandhorst-Satzkorn authored and GitHub committed 2023-10-26 11:16:59 -07:00
1 parent 9e6ebdddc6
commit 894927ffd2
1 file changed
+2 -2
@@ -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),
}