We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cebcc7a commit b8d9a89Copy full SHA for b8d9a89
internal/mode/static/state/graph/backend_refs.go
@@ -140,7 +140,8 @@ func createBackendRef(
140
return backendRef, nil
141
}
142
143
-// getServiceAndPortFromRef can return an error and an empty v1.ServicePort in two cases:
+// getServiceAndPortFromRef extracts the NamespacedName of the Service and the port from a BackendRef.
144
+// It can return an error and an empty v1.ServicePort in two cases:
145
// 1. The Service referenced from the BackendRef does not exist in the cluster/state.
146
// 2. The Port on the BackendRef does not match any of the ServicePorts on the Service.
147
func getServiceAndPortFromRef(
0 commit comments