Skip to content

Conversation

@thaJeztah
Copy link
Member

Commit 20ba591 (#3901) fixed incorrect feature detection in the CLI, but introduced a regression; previously the "ping" would only be executed if needed (see b397391 / #2424), but by not inlining the call to ServerInfo() would now always be called.

This patch inlines the code again to only execute the "ping" conditionally, which allows it to be executed lazily (and omitted for commands that don't require a daemon connection).

- A picture of a cute animal (not mandatory but encouraged)

Commit 20ba591 fixed incorrect feature
detection in the CLI, but introduced a regression; previously the "ping"
would only be executed if needed (see b397391),
but by not inlining the call to `ServerInfo()` would now always be called.

This patch inlines the code again to only execute the "ping" conditionally,
which allows it to be executed lazily (and omitted for commands that don't
require a daemon connection).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 23.0.0 milestone Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants