File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/forklift-console-plugin/src/modules
Plans/views/details/utils
Providers/views/migrate/reducer Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export const mapTargetNetworksIdsToLabels = (
103103 plan : V1beta1Plan ,
104104) : { [ label : string ] : string } => {
105105 const tuples : [ string , string ] [ ] = targets
106- . filter ( ( { namespace } ) => namespace === plan . spec . targetNamespace )
106+ . filter ( ( { namespace } ) => namespace === plan . spec . targetNamespace || namespace === 'default' )
107107 . map ( ( net ) => [ net . uid , net . name ] ) ;
108108
109109 tuples . push ( [ 'pod' , POD_NETWORK ] ) ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export const calculateNetworks = (
3838
3939 const targetNetworkNameToUid = Object . fromEntries (
4040 existingResources . targetNetworks
41- . filter ( ( { namespace } ) => namespace === plan . spec . targetNamespace )
41+ . filter ( ( { namespace } ) => namespace === plan . spec . targetNamespace || namespace === 'default' )
4242 . map ( ( net ) => [ net . name , net . uid ] ) ,
4343 ) ;
4444 const targetNetworkLabels = [
You can’t perform that action at this time.
0 commit comments