Skip to content

Commit

Permalink
autocorrect offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiedeziel committed Sep 21, 2023
1 parent 21903f4 commit 12e343f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/printer_scanner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PrinterScanner
# rubocop:enable Layout/LineLength

def call
uris = Printer.all.pluck(:octoprint_uri)
uris = Printer.pluck(:octoprint_uri)
ips = use_cache do
all_network_ips.select { |ip| octoprint?(ip) }
end
Expand Down
2 changes: 1 addition & 1 deletion lib/spooler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Spooler

def initialize
@workers = {}
Printer.all.each do |printer|
Printer.find_each do |printer|
@workers[printer.id] = Spool.new(printer)
end
end
Expand Down

0 comments on commit 12e343f

Please sign in to comment.