Skip to content

Commit 0188e43

Browse files
committed
fix: internalfabric get
1 parent 0195d74 commit 0188e43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/gateway/fabric/geneve/internalfabric.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ func getInternalFabric(ctx context.Context, cl client.Client, gatewayName, remot
3737
return nil, fmt.Errorf("unable to get the internal fabric %q: %w", remoteID, err)
3838
}
3939

40+
if err == nil {
41+
return internalFabric, nil
42+
}
43+
4044
err = cl.Get(ctx, client.ObjectKey{
4145
Name: gatewayName,
4246
Namespace: ns,

0 commit comments

Comments
 (0)