CLI: squash a Dialyzer warning

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
Michael Klishin 2023-07-19 21:51:27 +04:00 committed by GitHub
parent bd3b44aab9
commit 449ab048e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ defmodule RabbitMQCtl do
def main(["--auto-complete" | []]) do
# silence Erlang/OTP's standard library warnings, it's acceptable for CLI tools,
# see rabbitmq/rabbitmq-server#8912
:logger.set_primary_config(:level, :error)
_ = :logger.set_primary_config(:level, :error)
handle_shutdown(:ok)
end