Update code comments

Signed-off-by: Yang Le <yangle@redhat.com>
This commit is contained in:
Yang Le
2021-02-18 14:27:06 +08:00
parent b3263720de
commit 795575932f
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ func (m *AddFinalizerController) sync(ctx context.Context, controllerContext fac
manifestWork, err := m.manifestWorkLister.Get(manifestWorkName)
if errors.IsNotFound(err) {
// work not found, could have been deleted, do nothing.
// work not found, could have been deleted, do nothing.
return nil
}
if err != nil {

View File

@@ -59,7 +59,7 @@ func (m *AppliedManifestWorkFinalizeController) sync(ctx context.Context, contro
appliedManifestWork, err := m.appliedManifestWorkLister.Get(appliedManifestWorkName)
if errors.IsNotFound(err) {
// work not found, could have been deleted, do nothing.
// work not found, could have been deleted, do nothing.
return nil
}
if err != nil {