Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysdump: skip metric/gops collection if container does not exist
Do not attempt to collect metrics and gops stats if the target pod is not running, or the specified container does not exist. This prevents performing operations that are guaranteed to fail, and output possibly misleading errors. One example being when the clustermesh-apiserver is enabled, but kvstoremesh is not, as all operations targeting the latter will fail. Signed-off-by: Marco Iorio <[email protected]>
- Loading branch information