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 8, 2024
1 parent ff2ae42 commit d9bb4b6
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 d9bb4b6

Please sign in to comment.