Skip to content

Commit

Permalink
Dump node information json when in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
FreedomBen committed Jul 31, 2024
1 parent 62db710 commit 90e64dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def get_nodes
.get("https://kubernetes.default.svc/api/v1/nodes", ssl_context: ctx)
.body

debug("Retrieved nodes: #{resp}")

JSON.parse(resp)
end

Expand Down

0 comments on commit 90e64dc

Please sign in to comment.