Skip to content

Commit

Permalink
Improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
LostKobrakai committed Sep 12, 2021
1 parent b441663 commit 56aac71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/minio.ex
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ defmodule MinioServer do
Logger.info("Running minio server at #{host}:#{port}")

if ui do
Logger.info("Access minio server UI at http://#{host}:#{port}")
ui_port = if port = Keyword.get(init_arg, :console_address), do: port, else: ":#{port}"
Logger.info("Access minio server UI at http://#{host}#{ui_port}")
end

Supervisor.init(children, strategy: :one_for_one)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule MinioServer.MixProject do
def project do
[
app: :minio_server,
version: "0.3.1",
version: "0.3.2",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit 56aac71

Please sign in to comment.