Skip to content

Commit 073f4b4

Browse files
author
Kate Osborn
committed
Add comments to RouteKey fields
1 parent a2475ef commit 073f4b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/mode/static/state/graph/route_common.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ const (
5858

5959
// RouteKey is the unique identifier for a L7Route
6060
type RouteKey struct {
61+
// NamespacedName is the NamespacedName of the Route.
6162
NamespacedName types.NamespacedName
62-
RouteType RouteType
63+
// RouteType is the type of the Route.
64+
RouteType RouteType
6365
}
6466

6567
// L7Route is the generic type for the layer 7 routes, HTTPRoute and GRPCRoute

0 commit comments

Comments
 (0)