From b6900ead22c8138bb1db1a74d4ffa331dc7a1319 Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Thu, 20 Aug 2020 17:01:03 -0700 Subject: [PATCH] update TODO with issue number --- kyaml/kio/kio.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kyaml/kio/kio.go b/kyaml/kio/kio.go index ee53bca40..91efde1d9 100644 --- a/kyaml/kio/kio.go +++ b/kyaml/kio/kio.go @@ -108,8 +108,8 @@ func (p Pipeline) ExecuteWithCallback(callback PipelineExecuteCallbackFunc) erro callback(op) } result, err = op.Filter(result) - // TODO: This len(result) == 0 should be removed and empty result list should be - // handled by outputs. However currently the some writer like LocalPackageReadWriter + // TODO (issue 2872): This len(result) == 0 should be removed and empty result list should be + // handled by outputs. However currently some writer like LocalPackageReadWriter // will clear the output directory and which will cause unpredictable results if len(result) == 0 || err != nil { return errors.Wrap(err)