Skip to content

Commit

Permalink
temp lint ignore
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Feb 13, 2023
1 parent 8484d51 commit e6907ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/ipsec/ipsec_vici.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ func ipsecVersion() (*pb.IPsecVersionResp, error) {
return verresp, err
}

//nolint:funlen
func ipsecStats() (*pb.IPsecStatsResp, error) {
s, err := vici.NewSession()
if err != nil {
Expand Down Expand Up @@ -480,6 +481,7 @@ func ipsecStats() (*pb.IPsecStatsResp, error) {
return statsresp, nil
}

//nolint:funlen,gocognit,gocyclo
func loadConn(connreq *pb.IPsecLoadConnReq) error {
// Declare the connection variable, as we have to conditionally load it
var conn = &connectionParams{
Expand Down
2 changes: 2 additions & 0 deletions pkg/ipsec/ipsec_vici_parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func parseChildListSas(childsa listChildSaParams, name string) (*pb.ListChildSa,
return child, nil
}

//nolint:funlen,gocognit,gocyclo
func parseIkeListSas(ikesa *listIkeSaParams, km string) (*pb.ListIkeSa, error) {
if km == "" {
return nil, errors.New("name can't be empty")
Expand Down Expand Up @@ -259,6 +260,7 @@ func parseAuth(conn listAuthParams, name string) (*pb.ListConnAuth, error) {
return auth, nil
}

//nolint:gocognit,gocyclo
func parseConnectionChild(params listChildParams, name string) (*pb.ListChild, error) {
log.Printf("Found key %v", params)
if name == "" {
Expand Down

0 comments on commit e6907ef

Please sign in to comment.