Skip to content

Commit acfafae

Browse files
committed
fix lint:
1 parent 4fd6475 commit acfafae

File tree

4 files changed

+10
-3513
lines changed

4 files changed

+10
-3513
lines changed

internal/services/domain/helpers.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,19 @@ func getRecordFromTypeAndData(dnsType domain.RecordType, data string, records []
4040
if currentRecord != nil {
4141
return nil, errors.New("multiple records found with same type and data")
4242
}
43+
4344
currentRecord = r
45+
4446
break
4547
}
4648
} else {
4749
if strings.HasPrefix(flattedData, flattenCurrentData) && r.Type == dnsType {
4850
if currentRecord != nil {
4951
return nil, errors.New("multiple records found with same type and data")
5052
}
53+
5154
currentRecord = r
55+
5256
break
5357
}
5458
}

0 commit comments

Comments
 (0)