Skip to content

Commit

Permalink
Accidentally declared conn as instance variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vic3lord committed Jan 11, 2015
1 parent 5b235fa commit 0273031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/knife-spork/plugins/influxdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def perform
cookbook: cookbook.name,
version: cookbook.version
}
@conn.write_point(config.series, data)
conn.write_point(config.series, data)
rescue Exception => e
ui.error 'Could not write data to influxdb'
ui.error e.to_s
Expand Down

0 comments on commit 0273031

Please sign in to comment.