kubectl-flame icon indicating copy to clipboard operation
kubectl-flame copied to clipboard

make kubectl-flame exit automatically when specific errors occur

Open nevermosby opened this issue 4 years ago • 1 comments

I got this error when I use kubectl-flame to profile a golang application, which is expected as I do not specify the process name. kubectl-flame-pgrep

Not what I expected is the process cannot terminated automatically and I had to stop it manually. As the error cause is clear and the best way to solve is let user run kubectl-flame again with correct command, is it possible to make kubectl-flame exit automatically when specific errors occur?

Best wishes.

nevermosby avatar Feb 19 '21 07:02 nevermosby

Thanks for reporting @nevermosby We will sure be fixing this soon.

edeNFed avatar Feb 20 '21 08:02 edeNFed