File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 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");
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments