File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1222,7 +1222,7 @@ func (np *WebSphereLibertyApplicationNetworkPolicy) GetFromNamespaceLabels() map
12221222	if  np .FromNamespaceLabels  !=  nil  {
12231223		return  * np .FromNamespaceLabels 
12241224	}
1225- 	// fallback to deprecated flag np.NamespaceLabels for when we only supported one type of network policy (ingress)  
1225+ 	// fallback to deprecated flag np.NamespaceLabels if configured  
12261226	if  np .NamespaceLabels  !=  nil  {
12271227		return  * np .NamespaceLabels 
12281228	}
@@ -1252,6 +1252,7 @@ func (np *WebSphereLibertyApplicationNetworkPolicy) IsEgressDisabled() bool {
12521252	return  np .DisableEgress  !=  nil  &&  * np .DisableEgress 
12531253}
12541254
1255+ // IsBypassingDenyAllEgress returns whether the application Pods should ignore a deny-all Egress 
12551256func  (np  * WebSphereLibertyApplicationNetworkPolicy ) IsBypassingDenyAllEgress () bool  {
12561257	return  np .BypassDenyAllEgress  !=  nil  &&  * np .BypassDenyAllEgress 
12571258}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments