Skip to content

Commit bc26d96

Browse files
committed
Revert "Fix potential operator precedence bug"
This reverts commit e77d6eead174169719298ba2c2123c7f07c8516e. This fix caused the daemon to freeze.
1 parent 13c7b85 commit bc26d96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Vspheredb/Daemon/VsphereDbDaemon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ protected function hasSchema(): bool
632632
protected function sendDbConfigToRunner(): PromiseInterface
633633
{
634634
$this->logger->notice('[db] sending DB config to child process');
635-
if ($this->daemonState->getComponentState(self::COMPONENT_DB) !== self::STATE_READY) {
635+
if (! $this->daemonState->getComponentState(self::COMPONENT_DB) === self::STATE_READY) {
636636
$this->logger->warning('[db] DB runner is NOT ready, not sending config');
637637

638638
return resolve(null);

0 commit comments

Comments
 (0)