Skip to content

Commit 3cca27d

Browse files
committed
fix: linting with new elixir version
1 parent 80e69c3 commit 3cca27d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ee/rbac/lib/rbac/store/user_permissions.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ defmodule Rbac.Store.UserPermissions do
226226
RBI.generate_cache_key(rbi)
227227
end)
228228

229-
case @store_backend.put_batch(@user_permissions_store_name, keys, permissions, timeout: 60_000) do
229+
case @store_backend.put_batch(@user_permissions_store_name, keys, permissions,
230+
timeout: 60_000
231+
) do
230232
{:ok, no_of_inserts} ->
231233
Logger.info("[User-Permissions Store] Batch inserted #{no_of_inserts} into the cache")
232234
:ok

ee/rbac/lib/rbac/utils/http.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ defmodule Rbac.Utils.Http do
5757
{:ok, Plug.Crypto.non_executable_binary_to_term(encoded_state, [:safe]), conn}
5858

5959
:error ->
60-
Logger.warn("State key: #{key} not found in cookies")
60+
Logger.warning("State key: #{key} not found in cookies")
6161
{:error, "State key: #{key} not found in cookies"}
6262
end
6363
end

0 commit comments

Comments
 (0)