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:
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),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user