From 9ba6f13bfb3e74afa69035d5307ee17496923624 Mon Sep 17 00:00:00 2001 From: Pascal Schmid Date: Mon, 21 Feb 2022 08:14:50 +0100 Subject: [PATCH] Run linter --- config/prod.exs | 1 - config/runtime.exs | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/config/prod.exs b/config/prod.exs index e8f436a..a63203a 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -48,4 +48,3 @@ config :logger, level: :info # force_ssl: [hsts: true] # # Check `Plug.SSL` for all available options in `force_ssl`. - diff --git a/config/runtime.exs b/config/runtime.exs index bee5c60..3881aa5 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -38,13 +38,13 @@ if config_env() == :prod do # See `mix help release` for more information. end -{port, _} = System.fetch_env!("KAFKA_BROKER_PORT") - |> Integer.parse +{port, _} = + System.fetch_env!("KAFKA_BROKER_PORT") + |> Integer.parse() config :kafka_ex, - brokers: [ - {System.fetch_env!("KAFKA_BROKER1_HOST"), port}, - {System.fetch_env!("KAFKA_BROKER2_HOST"), port}, - {System.fetch_env!("KAFKA_BROKER3_HOST"), port}, - ] - + brokers: [ + {System.fetch_env!("KAFKA_BROKER1_HOST"), port}, + {System.fetch_env!("KAFKA_BROKER2_HOST"), port}, + {System.fetch_env!("KAFKA_BROKER3_HOST"), port} + ]