Skip to content

Commit

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


(delete-secret!
[this path]
Expand Down

0 comments on commit 6da51f4

Please sign in to comment.