-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
As title, when I perform
DigOc.Droplet.power_off("droplet_id")
it occur error messages like following :
** (FunctionClauseError) no function clause matching in Access.fetch/2
(elixir) lib/access.ex:117: Access.fetch({:ok, %{id: "unprocessable_entity", message: "Droplet already has a pending event."}, [{"Date", "Tue, 17 May 2016 07:17:03 GMT"}, ......]}, :id)
(elixir) lib/access.ex:149: Access.get/3
(digoc) lib/digoc/droplet.ex:150: DigOc.Droplet.task/3
(twwin) lib/twwin/digoc_checker.ex:46: DigocChecker.handle_info/2
(stdlib) gen_server.erl:615: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:681: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
And look into line 150, the response should be
{:ok, status, _} = postreq("droplets/#{ id }/actions", map)
or similar, like case..
I've fix that in my local, but still, need to report it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels