Skip to content

Commit 3f84205

Browse files
cheina97aleoli
andauthored
Update pkg/gateway/fabric/geneve/internalfabric.go
Co-authored-by: Alessandro Olivero <[email protected]>
1 parent 7c806b8 commit 3f84205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gateway/fabric/geneve/internalfabric.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
// getInternalFabric retrieves the InternalFabric resource associated with the given GatewayServer.
2828
// WARNING: this function contains 2 calls to the Kubernetes API using 2 different names.
29-
// This is intended to avoid breaking changes, since the InternalFabric name has changed from GatewayServer to the GatewayServer name.
29+
// This is intended to avoid breaking changes, since the InternalFabric name has changed from GatewayServer name to the GatewayServer cluster ID.
3030
func getInternalFabric(ctx context.Context, cl client.Client, gatewayName, remoteID, ns string) (*networkingv1beta1.InternalFabric, error) {
3131
internalFabric := &networkingv1beta1.InternalFabric{}
3232
err := cl.Get(ctx, client.ObjectKey{

0 commit comments

Comments
 (0)