Skip to content

Commit

Permalink
release v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mruoss committed Dec 14, 2023
1 parent a9d00a3 commit f07797d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

<!-- ### Added | Changed | Deprecated | Removed | Fixed | Security -->

<!--------------------- Don't add new entries after this line --------------------->

## [0.2.2] - 2023-12-14

### Fixed

- Don't crash the runner if the `:log` option is not set (or set to `false`)

<!--------------------- Don't add new entries after this line --------------------->

## [0.2.1] - 2023-12-11

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ More configuration options (resources, etc.) will follow.
```elixir
def deps do
[
{:flame_k8s_backend, "~> 0.2.1"}
{:flame_k8s_backend, "~> 0.2.2"}
]
end
```
Expand Down
4 changes: 3 additions & 1 deletion lib/flame_k8s_backend.ex
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,11 @@ defmodule FLAMEK8sBackend do
for {name, value} <- env_map, do: %{"name" => name, "value" => value}
end

defp log(state, msg, metadata \\ [])

defp log(%FLAMEK8sBackend{log: false}, _, _), do: :ok

defp log(%FLAMEK8sBackend{log: level}, msg, metadata \\ []) do
defp log(%FLAMEK8sBackend{log: level}, msg, metadata) do
Logger.log(level, msg, metadata)
end
end
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule FlameK8sBackend.MixProject do
use Mix.Project
@source_url "https://github.com/mruoss/flame_k8s_backend"
@version "0.2.1"
@version "0.2.3"

def project do
[
Expand Down

0 comments on commit f07797d

Please sign in to comment.