From 5c131dac5e2e7fc85bcbef6c1c8e95912b7759d4 Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Tue, 20 Nov 2018 13:40:45 +0100 Subject: Fix bug where ID is not set On HEAD~ we remove the ID from the class, which created a bug. Given we don't need the ID anymore, it has been removed and simplified. --- lib/peek/views/gitaly.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/peek') diff --git a/lib/peek/views/gitaly.rb b/lib/peek/views/gitaly.rb index 860963ef94f..30f95a10024 100644 --- a/lib/peek/views/gitaly.rb +++ b/lib/peek/views/gitaly.rb @@ -23,7 +23,6 @@ module Peek def details ::Gitlab::GitalyClient.list_call_details - .values .sort { |a, b| b[:duration] <=> a[:duration] } .map(&method(:format_call_details)) end -- cgit v1.2.1