Skip to content

Commit

Permalink
Merge pull request #1348 from yaacov/backport-add-name-and-type-to-so…
Browse files Browse the repository at this point in the history
…urce-in-network-map-for-ocp-to-ocp

[v2.7.2] Add source type and name when creating a network map from ocp to ocp
  • Loading branch information
yaacov authored Oct 8, 2024
2 parents ff2ae42 + d9bb4b6 commit d75b3db
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 d75b3db

Please sign in to comment.