Skip to content

Commit

Permalink
Enable on-demand consumer update
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL authored Nov 22, 2023
1 parent 0711760 commit 73d6ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Consumer/Consumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ public function setIterations(int $iterations): self
private function shouldCreateConsumer(bool $ifNotExists): bool
{
return ($this->configuration->isEphemeral() && $this->configuration->getName() === null)
|| !$this->exists();
|| !$this->exists() || !$ifNotExists;
}
}

0 comments on commit 73d6ef9

Please sign in to comment.