Skip to content

Commit

Permalink
ci: optimize lint (remove useless comments) (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony TREUILLIER <[email protected]>
  • Loading branch information
antrema committed Sep 13, 2024
1 parent 93d5a4e commit 4484820
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ func getMockedKind(zoneName string) (result string) {
return
}

//nolint:unparam
func getMockedRecordsForType(rrsetName, rrsetType string) (result []string) {
rrset, _ := readFromRecordsMap(makeCanonical(rrsetName))
if string(*rrset.Type) == rrsetType {
Expand All @@ -371,7 +370,6 @@ func getMockedRecordsForType(rrsetName, rrsetType string) (result []string) {
return
}

//nolint:unparam
func getMockedTTL(rrsetName, rrsetType string) (result uint32) {
rrset, _ := readFromRecordsMap(makeCanonical(rrsetName))
if string(*rrset.Type) == rrsetType {
Expand All @@ -380,7 +378,6 @@ func getMockedTTL(rrsetName, rrsetType string) (result uint32) {
return
}

//nolint:unparam
func getMockedComment(rrsetName, rrsetType string) (result string) {
rrset, _ := readFromRecordsMap(makeCanonical(rrsetName))
if string(*rrset.Type) == rrsetType {
Expand All @@ -389,7 +386,6 @@ func getMockedComment(rrsetName, rrsetType string) (result string) {
return
}

//nolint:unparam
func getMockedCatalog(zoneName string) (result string) {
zone, _ := readFromZonesMap(makeCanonical(zoneName))
result = ptr.Deref(zone.Catalog, "")
Expand Down

0 comments on commit 4484820

Please sign in to comment.