Skip to content

Commit

Permalink
Merge pull request #1344 from yaacov/add-name-and-type-to-source-in-n…
Browse files Browse the repository at this point in the history
…etwork-map-for-ocp-to-ocp

Add source type and name when creating a network map from ocp to ocp
  • Loading branch information
yaacov authored Oct 6, 2024
2 parents d75d0d4 + 10f58a6 commit f9a7ec3
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 f9a7ec3

Please sign in to comment.