mirror of
https://github.com/kubevela/kubevela.git
synced 2026-04-21 10:07:26 +00:00
Fix: delete Project fail (#3981)
Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
This commit is contained in:
@@ -463,6 +463,8 @@ func destroySyncConfigsApp(ctx context.Context, k8sClient client.Client, project
|
||||
if !kerrors.IsNotFound(err) {
|
||||
return err
|
||||
}
|
||||
klog.InfoS("config sync application doesn't exist, no need destroy", "application", name)
|
||||
return nil
|
||||
}
|
||||
return k8sClient.Delete(ctx, app)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user