Skip to content

fix(reset): Add cycle detector in reset.go#703

Merged
glours merged 2 commits intocompose-spec:mainfrom
idsulik:issue-12235
Oct 28, 2024
Merged

fix(reset): Add cycle detector in reset.go#703
glours merged 2 commits intocompose-spec:mainfrom
idsulik:issue-12235

Conversation

@idsulik
Copy link
Copy Markdown
Contributor

@idsulik idsulik commented Oct 26, 2024

Issue: docker/compose#12235
I added the cycle detector to reset.go.
Example yaml to reproduce the issue:

x-healthcheck: &healthcheck
  healthcheck:
    test: [ "CMD", "wget", "--quiet", "--spider", "--timeout=1", "http://localhost:9000/health/live" ]
    start_period: 20s
    start_interval: 1s
    interval: 30s
    timeout: 2s
    retries: 5


  egress-service:
    <<: *healthcheck

@idsulik idsulik requested a review from ndeloof as a code owner October 26, 2024 07:09
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
Copy link
Copy Markdown
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @idsulik for the fix

@glours glours merged commit 222d93c into compose-spec:main Oct 28, 2024
@idsulik idsulik deleted the issue-12235 branch January 21, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants