mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
Apply suggestions from code review
Co-authored-by: Charlie Chiang <charlie_c_0129@outlook.com> Signed-off-by: ghostloda <78798447@qq.com>
This commit is contained in:
co-authored by
Charlie Chiang
parent
a5ba4658a9
commit
67f34ac4a6
+1
-1
@@ -461,7 +461,7 @@ func checkConflictDefs(ctx context.Context, k8sClient client.Client, defs []*uns
|
||||
}
|
||||
}
|
||||
if err != nil && !errors2.IsNotFound(err) {
|
||||
return nil, errors.Wrapf(err, "check definition %s", def.GetName())
|
||||
return nil, errors.Wrapf(err, "check definition %s", def.GetName())
|
||||
}
|
||||
}
|
||||
return res, nil
|
||||
|
||||
Reference in New Issue
Block a user