Skip to content

Commit

Permalink
Add source type and name when creating a network map from ocp to ocp
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <[email protected]>
  • Loading branch information
yaacov committed Oct 6, 2024
1 parent 96074b8 commit 10f58a6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ const handlers: {
sourceNetworkLabelToId[source] === 'pod'
? { type: 'pod' }
: {
type: sourceProvider?.spec?.type === 'openshift' ? 'multus' : undefined,
name: sourceProvider?.spec?.type === 'openshift' ? source : undefined,
id: sourceNetworkLabelToId[source],
},
destination:
Expand Down

0 comments on commit 10f58a6

Please sign in to comment.