summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Golm <golm.peter@gmail.com>2014-01-11 16:46:51 +0100
committerPeter Golm <golm.peter@gmail.com>2014-01-11 16:46:51 +0100
commit358dfd3b67cc36c163cd8124879a4c21de894da1 (patch)
treeeb134b509f258928c5e3a1ef1dd4de9b47ef52c8 /lib
parent5f034015bbaa0718c6b85b9291c7cbd728329666 (diff)
downloadgitlab-ci-358dfd3b67cc36c163cd8124879a4c21de894da1.tar.gz
fix some style issues
see: https://github.com/gitlabhq/gitlab-ci/pull/355
Diffstat (limited to 'lib')
-rw-r--r--lib/charts.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/charts.rb b/lib/charts.rb
index 426b8c3..8517771 100644
--- a/lib/charts.rb
+++ b/lib/charts.rb
@@ -55,7 +55,6 @@ module Charts
class BuildTime < Chart
def collect
- i=0
if ActiveRecord::Base.connection.adapter_name.downcase == "postgresql"
sql = "date_part('epoch',finished_at) - date_part('epoch',started_at) as duration"
else