mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	优化代码
This commit is contained in:
		@@ -94,7 +94,7 @@ func (this *NodeClusterFirewallActionService) FindAllEnabledNodeClusterFirewallA
 | 
			
		||||
			Name:          action.Name,
 | 
			
		||||
			EventLevel:    action.EventLevel,
 | 
			
		||||
			Type:          action.Type,
 | 
			
		||||
			ParamsJSON:    []byte(action.Params),
 | 
			
		||||
			ParamsJSON:    action.Params,
 | 
			
		||||
		})
 | 
			
		||||
	}
 | 
			
		||||
	return &pb.FindAllEnabledNodeClusterFirewallActionsResponse{NodeClusterFirewallActions: pbActions}, nil
 | 
			
		||||
@@ -121,7 +121,7 @@ func (this *NodeClusterFirewallActionService) FindEnabledNodeClusterFirewallActi
 | 
			
		||||
		Name:          action.Name,
 | 
			
		||||
		EventLevel:    action.EventLevel,
 | 
			
		||||
		Type:          action.Type,
 | 
			
		||||
		ParamsJSON:    []byte(action.Params),
 | 
			
		||||
		ParamsJSON:    action.Params,
 | 
			
		||||
	}}, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user