ClusterLabs / ClusterLabs/resource-agents
Do we need container_exists in Docker RA docker_health_status()?
Open
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
Seems redundant since a few lines later docker inspect is called anyway to get the health status
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Docker resource-agent implementation and the docker_health_status() entry point, then inspect how container_exists and docker inspect are used. Determine whether the existence check is redundant and document or test the expected behavior before removing or retaining it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100