Closed Zeel-Patel closed 3 months ago
This issue is currently awaiting triage.
SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted
label.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
/sig cli
/needs-information Please provide a method of reproduction so we can verify this and investigate further.
/triage needs-information
@mpuckett159 , edited the question with info.
/close Closing the issue, this seems to be related to klog according to the output in the error trace (if I'm wrong please correct me) which is not something that SIG-CLI owns, this would be better suited in the kubernetes/klog repo, but as I also understand this is a fork of golang/glog, so this may be something to fix even farther upstream in that repo, I'm unsure. If the fix truly needs to happen in our code, we would accept a PR to fix it.
@mpuckett159: Closing this issue.
What is the issue?
I am trying to write UTs for a function which internally calls cli.RunNoErrOutput(command)
cli -> "k8s.io/component-base/cli"
But there seems to be goleak
What can be possible reason?
How to reproduce?
Define run method
Define test for run() in test file
Run test, test run will fail with error above