Skip to content

Commit 79a712b

Browse files
fix linter issues
Signed-off-by: Denis Tingaikin <[email protected]>
1 parent 943ae5b commit 79a712b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pkg/api/networkservice/connection_event_helpers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// Copyright (c) 2020 Cisco and/or its affiliates.
22
//
3+
// Copyright (c) 2023 Cisco and/or its affiliates.
4+
//
35
// SPDX-License-Identifier: Apache-2.0
46
//
57
// Licensed under the Apache License, Version 2.0 (the "License");

pkg/api/networkservice/connection_helpers.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//
33
// Copyright (c) 2021 Doc.ai and/or its affiliates.
44
//
5+
// Copyright (c) 2023 Cisco and/or its affiliates.
6+
//
57
// SPDX-License-Identifier: Apache-2.0
68
//
79
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -160,8 +162,8 @@ func (x *Connection) MatchesMonitorScopeSelector(selector *MonitorScopeSelector)
160162
return false
161163
}
162164

163-
// GetPathSegmentById gets the path segment by passed id
164-
func (x *Connection) GetPathSegmentById(id string) *PathSegment {
165+
// GetPathSegmentByID gets the path segment by passed id
166+
func (x *Connection) GetPathSegmentByID(id string) *PathSegment {
165167
for _, segment := range x.GetPath().GetPathSegments() {
166168
if segment.GetId() == id {
167169
return segment

0 commit comments

Comments
 (0)