[26.1 backport] plugins/hooks: Don't show empty hook messages by vvoland · Pull Request #5083 · docker/cli

@vvoland

Don't show `Next steps:` with no messages at all when plugin returns an
unitialized value of `HookMessage` (zero-initialization sets its type to
NextSteps and empty template).

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit 296a6f5)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>

thaJeztah

laurazard

neersighted

renovate bot added a commit to earthly/dind that referenced this pull request

Jun 10, 2024

renovate bot added a commit to earthly/dind that referenced this pull request

Jun 10, 2024