Skip to content

Commit 9a3346b

Browse files
author
Matt Jones
committed
rubocop upgrade and cleanup
1 parent 57413d5 commit 9a3346b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LineLength:
66
Max: 160
77

88
AbcSize:
9-
Max: 75
9+
Max: 100
1010

1111
FileName:
1212
Enabled: false

bin/metric-postgres-statstable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class PostgresStatsTableMetrics < Sensu::Plugin::Metric::CLI::Graphite
5959
long: '--scheme SCHEME',
6060
default: "#{Socket.gethostname}.postgresql"
6161

62-
def run # rubocop:disable all
62+
def run
6363
timestamp = Time.now.to_i
6464

6565
con = PG::Connection.new(config[:hostname], config[:port], nil, nil, config[:db], config[:user], config[:password])

0 commit comments

Comments
 (0)