Signed-off-by: lou <alex1988@outlook.com>
This commit is contained in:
lou
2023-10-05 01:19:05 +08:00
parent 06ed9dcc71
commit 58d8425952

View File

@@ -129,7 +129,7 @@ func (r *ResourceModifierRule) apply(obj *unstructured.Unstructured, groupResour
return nil
}
func matchConditions(u *unstructured.Unstructured, patches []JSONPatch, logger logrus.FieldLogger) (bool, error) {
func matchConditions(u *unstructured.Unstructured, patches []JSONPatch, _ logrus.FieldLogger) (bool, error) {
if len(patches) == 0 {
return true, nil
}