Skip to content

Commit 3dc7d9b

Browse files
committed
fix: code loading detection issue
1 parent 231f38d commit 3dc7d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cache/metrics.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if Code.ensure_loaded?(PrometheusTelemetry) do
1+
if Application.ensure_loaded(:prometheus_telemetry) === :ok do
22
defmodule Cache.Metrics do
33
@moduledoc """
44
Add the following metrics for elixir_cache:

0 commit comments

Comments
 (0)