From 4e7b486093d85d52083f93d6bb68ae5584351473 Mon Sep 17 00:00:00 2001 From: Lorenzo Manacorda Date: Wed, 3 Jun 2015 19:56:53 +0200 Subject: remove harvest middleware it always uses HTTP Basic Auth, whereas our endpoint is publicly available. --- lib/hcl/commands.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3