Remove unparam linter

We decided that this linter does not provide very useful feedback
for our project.
This commit is contained in:
Ryan Richard
2021-08-19 10:20:24 -07:00
parent 02b8ed7e0b
commit b4a39ba3c4
3 changed files with 2 additions and 4 deletions
-1
View File
@@ -644,7 +644,6 @@ func authenticatorAPIGroup(apiGroup string) withFunc {
}
}
//nolint:unparam // the apiGroupSuffix parameter might always be the same, but this is nice for test readability
func replaceGV(t *testing.T, baseGV schema.GroupVersion, apiGroupSuffix string) schema.GroupVersion {
t.Helper()
groupName, ok := Replace(baseGV.Group, apiGroupSuffix)