mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Improve health check image. (#919)
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data, err := os.ReadFile("health.txt")
|
||||
data, err := os.ReadFile("/health.txt")
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error while reading health status: %s\n", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user