From 570602fc92106cdc10f0aa6bcdede03669f1c29b Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Tue, 13 Jan 2015 18:40:05 +0100 Subject: [PATCH] correct a variable reference 'object' is not used in that method, it should be log --- lib/travis/api/v2/http/log.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/travis/api/v2/http/log.rb b/lib/travis/api/v2/http/log.rb index 96cb408a..1ace5cd8 100644 --- a/lib/travis/api/v2/http/log.rb +++ b/lib/travis/api/v2/http/log.rb @@ -14,7 +14,7 @@ module Travis log_hash = options[:chunked] ? chunked_log_data : log_data if log.removed_at log_hash['removed_at'] = log.removed_at - log_hash['removed_by'] = log.removed_by.name || object.removed_by.login + log_hash['removed_by'] = log.removed_by.name || log.removed_by.login end {