Skip to content

Commit

Permalink
Fix amperity#17 : return response on 200 writes
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrestivo-stem committed Dec 21, 2017
1 parent da8b05a commit 1486249
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vault/client/http.clj
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,10 @@
:content-type :json})]
(log/debug "Wrote secret" path)
(lease/remove-path! leases path)
(= 204 (:status response))))
(case (:status response)
204 true
200 (:body response))))


(delete-secret!
[this path]
Expand Down

0 comments on commit 1486249

Please sign in to comment.