Skip to content

Fix http/timeout while waiting for command output#148

Merged
masterzen merged 3 commits intomasterzen:masterfrom
kke:fix-http-timeout
Dec 22, 2023
Merged

Fix http/timeout while waiting for command output#148
masterzen merged 3 commits intomasterzen:masterfrom
kke:fix-http-timeout

Conversation

@kke
Copy link
Contributor

@kke kke commented Dec 21, 2023

Fixes #147

In addition to the existing SOAP OperationTimeout, this PR makes the output retriever check if the error returned from the HTTP request is a http/timeout, which needs to be handled the same way.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
kke and others added 2 commits December 22, 2023 09:36
todo: need to remove the interface

Co-authored-by: Brice Figureau <brice+github@figureau.eu>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Copy link
Owner

@masterzen masterzen left a comment

Choose a reason for hiding this comment

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

LGTM

@masterzen masterzen merged commit f1fbea7 into masterzen:master Dec 22, 2023
@kke kke deleted the fix-http-timeout branch December 22, 2023 12:51
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.

Reading the output of long running commands gives net/http: timeout

2 participants