Closed chez-shanpu closed 2 years ago
https://github.com/whywaita/myshoes/blob/98029fde1ef4fe198d93b21f07002480ffbfc0eb/pkg/runner/runner.go#L167-L184
When the deleteRunner function is failed, target status becomes "error", but the lines below (L179~182) always set the status as "active". Therefore the target status will be always "active" even though all the runner deletion was failed.
deleteRunner
Thank you for the issue!
I fixed it in #112 💪
https://github.com/whywaita/myshoes/blob/98029fde1ef4fe198d93b21f07002480ffbfc0eb/pkg/runner/runner.go#L167-L184
When the
deleteRunner
function is failed, target status becomes "error", but the lines below (L179~182) always set the status as "active". Therefore the target status will be always "active" even though all the runner deletion was failed.