From 70e8c06b06564e8a764d88db5146932f15b44e72 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 13 Apr 2022 13:47:44 +0200 Subject: [PATCH] ConfigCommand: don't wait when no deployment... ...took place fixes #2522 --- application/clicommands/ConfigCommand.php | 1 + doc/82-Changelog.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/application/clicommands/ConfigCommand.php b/application/clicommands/ConfigCommand.php index dbf92a62..e140536b 100644 --- a/application/clicommands/ConfigCommand.php +++ b/application/clicommands/ConfigCommand.php @@ -132,6 +132,7 @@ class ConfigCommand extends Command printf("Config '%s' has been deployed\n", $checksum); } else { echo $deployer->getNoDeploymentReason() . "\n"; + return; } if ($timeout = $this->getWaitTime()) { diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index 8b8ef042..35b244a4 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -11,6 +11,9 @@ v1.10.0 (unreleased) * You can find issues and feature requests related to this release on our [roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/27?closed=1) +### CLI +* FIX: config deploy doesn't try to wait in case of no deployment (#2522) + 1.9.1 -----