summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Manacorda2015-06-03 19:56:53 +0200
committerLorenzo Manacorda2015-06-03 19:56:53 +0200
commit4e7b486093d85d52083f93d6bb68ae5584351473 (patch)
tree1b4b83c58d65a557767909c9c0804a1faa71953f
parent7a0ee394d3a110a05726d70232fc89e1f61ea123 (diff)
downloadhcl-4e7b486093d85d52083f93d6bb68ae5584351473.tar.bz2
remove harvest middleware
it always uses HTTP Basic Auth, whereas our endpoint is publicly available.
-rw-r--r--lib/hcl/commands.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb
index e234fb0..7a1d124 100644
--- a/lib/hcl/commands.rb
+++ b/lib/hcl/commands.rb
@@ -13,7 +13,6 @@ module HCl
# Show the network status of the Harvest service.
def status
result = Faraday.new("http://kccljmymlslr.statuspage.io/api/v2") do |f|
- f.use :harvest, '', ''
f.adapter Faraday.default_adapter
end.get('status.json').body
date = Time.at(result[:last_check_time].to_i)