mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-28 10:50:24 +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