Skip to content

[docker] don't return error on watcher creation#145

Merged
VihasMakwana merged 3 commits intoelastic:mainfrom
VihasMakwana:dont-error-watcher
Nov 23, 2025
Merged

[docker] don't return error on watcher creation#145
VihasMakwana merged 3 commits intoelastic:mainfrom
VihasMakwana:dont-error-watcher

Conversation

@VihasMakwana
Copy link
Copy Markdown
Contributor

@VihasMakwana VihasMakwana commented Nov 21, 2025

Log the error if listContainers fails. Propagating the error to the caller causes the entire elastic-agent to shut down.

Relates elastic/elastic-agent#11171

Screenshots

  • The monitoring components are back to healthy state after this change:
Screenshot 2025-11-21 at 4 22 46 PM

@VihasMakwana VihasMakwana requested a review from a team as a code owner November 21, 2025 10:09
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Nov 21, 2025
@pierrehilbert
Copy link
Copy Markdown

@VihasMakwana you need to update NOTICE.txt

@VihasMakwana VihasMakwana merged commit 5ce310a into elastic:main Nov 23, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants