Skip to content

Commit

Permalink
log known buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelVesnin committed May 19, 2017
1 parent dd6473c commit c781bf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ael_api/secrets/api.ex
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ defmodule Ael.Secrets.API do
@verbs ["PUT", "GET", "HEAD"]

defp secret_changeset(%Secret{} = secret, attrs) do
require Logger
Logger.error("buckets: #{inspect(@known_buckets)}")

secret
|> cast(attrs, @attrs)
|> validate_required(@required_attrs)
Expand Down

0 comments on commit c781bf7

Please sign in to comment.