Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobotta committed Apr 26, 2023
1 parent 6f027c5 commit 30ba31d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hetzner/server/find.cr
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ class Hetzner::Server::Find
servers.find do |server|
server.name == server_name
end
end

private def fetch_servers
ServersList.from_json(hetzner_client.get("/servers")).servers
rescue ex : Crest::RequestFailed
STDERR.puts "Failed to fetch servers: #{ex.message}"
STDERR.puts ex.response
Expand Down

0 comments on commit 30ba31d

Please sign in to comment.