Skip to content

Commit

Permalink
remove logging lines
Browse files Browse the repository at this point in the history
  • Loading branch information
davama authored Aug 29, 2023
1 parent 74ac22b commit 485a17f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/oxidized/source/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,14 @@ def pagination(data, node_want)
raise Oxidized::OxidizedError, "if using pagination, 'pagination_key_name' setting must be set" unless @cfg.pagination_key_name?

next_key = @cfg.pagination_key_name
Oxidized.logger.info "got next key #{next_key}"
loop do
Oxidized.logger.info "beggining loop"
node_data += string_navigate(data, @cfg.hosts_location) if @cfg.hosts_location?

Check warning on line 74 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.0)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:74:1: C: Layout/IndentationStyle: Tab detected in indentation.

Check warning on line 74 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.0)

[rubocop] reported by reviewdog 🐶 Use 2 (not -5) spaces for indentation. Raw Output: lib/oxidized/source/http.rb:74:2: C: Layout/IndentationWidth: Use 2 (not -5) spaces for indentation.

Check warning on line 74 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.1)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:74:1: C: Layout/IndentationStyle: Tab detected in indentation.

Check warning on line 74 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.1)

[rubocop] reported by reviewdog 🐶 Use 2 (not -5) spaces for indentation. Raw Output: lib/oxidized/source/http.rb:74:2: C: Layout/IndentationWidth: Use 2 (not -5) spaces for indentation.

Check warning on line 74 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.2)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:74:1: C: Layout/IndentationStyle: Tab detected in indentation.

Check warning on line 74 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.2)

[rubocop] reported by reviewdog 🐶 Use 2 (not -5) spaces for indentation. Raw Output: lib/oxidized/source/http.rb:74:2: C: Layout/IndentationWidth: Use 2 (not -5) spaces for indentation.
break if data[next_key].nil?

Check warning on line 75 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.0)

[rubocop] reported by reviewdog 🐶 Inconsistent indentation detected. Raw Output: lib/oxidized/source/http.rb:75:9: C: Layout/IndentationConsistency: Inconsistent indentation detected.

Check warning on line 75 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.1)

[rubocop] reported by reviewdog 🐶 Inconsistent indentation detected. Raw Output: lib/oxidized/source/http.rb:75:9: C: Layout/IndentationConsistency: Inconsistent indentation detected.

Check warning on line 75 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.2)

[rubocop] reported by reviewdog 🐶 Inconsistent indentation detected. Raw Output: lib/oxidized/source/http.rb:75:9: C: Layout/IndentationConsistency: Inconsistent indentation detected.

Check warning on line 76 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.0)

[rubocop] reported by reviewdog 🐶 Trailing whitespace detected. Raw Output: lib/oxidized/source/http.rb:76:1: C: Layout/TrailingWhitespace: Trailing whitespace detected.

Check warning on line 76 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.1)

[rubocop] reported by reviewdog 🐶 Trailing whitespace detected. Raw Output: lib/oxidized/source/http.rb:76:1: C: Layout/TrailingWhitespace: Trailing whitespace detected.

Check warning on line 76 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.2)

[rubocop] reported by reviewdog 🐶 Trailing whitespace detected. Raw Output: lib/oxidized/source/http.rb:76:1: C: Layout/TrailingWhitespace: Trailing whitespace detected.
new_uri = URI.parse(data[next_key]) if data.has_key?(next_key)

Check warning on line 77 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.0)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:77:1: C: Layout/IndentationStyle: Tab detected in indentation.

Check warning on line 77 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.1)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:77:1: C: Layout/IndentationStyle: Tab detected in indentation.

Check warning on line 77 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.2)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:77:1: C: Layout/IndentationStyle: Tab detected in indentation.
Oxidized.logger.info "new url is #{new_uri}"
data = JSON.parse(read_http(new_uri, node_want))

Check warning on line 78 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.0)

[rubocop] reported by reviewdog 🐶 Inconsistent indentation detected. Raw Output: lib/oxidized/source/http.rb:78:9: C: Layout/IndentationConsistency: Inconsistent indentation detected.

Check warning on line 78 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.1)

[rubocop] reported by reviewdog 🐶 Inconsistent indentation detected. Raw Output: lib/oxidized/source/http.rb:78:9: C: Layout/IndentationConsistency: Inconsistent indentation detected.

Check warning on line 78 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.2)

[rubocop] reported by reviewdog 🐶 Inconsistent indentation detected. Raw Output: lib/oxidized/source/http.rb:78:9: C: Layout/IndentationConsistency: Inconsistent indentation detected.
node_data += string_navigate(data, @cfg.hosts_location) if @cfg.hosts_location?

Check warning on line 79 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.0)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:79:1: C: Layout/IndentationStyle: Tab detected in indentation.

Check warning on line 79 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.1)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:79:1: C: Layout/IndentationStyle: Tab detected in indentation.

Check warning on line 79 in lib/oxidized/source/http.rb

View workflow job for this annotation

GitHub Actions / test (3.2)

[rubocop] reported by reviewdog 🐶 Tab detected in indentation. Raw Output: lib/oxidized/source/http.rb:79:1: C: Layout/IndentationStyle: Tab detected in indentation.
Oxidized.logger.info "end of loop"
end
Oxidized.logger.info "break loop"
node_data
end

Expand Down

0 comments on commit 485a17f

Please sign in to comment.