Skip to content

Commit

Permalink
v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Drewniak committed Sep 13, 2024
1 parent 8b0f553 commit c153fa6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/capistrano/data_plane_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,6 @@ def get_backend_servers_settings(backend_name, config: nil)
# @return [void]
def validate_backend_state(haproxy_backend, haproxy_server)
response = get_backend_servers_settings(haproxy_backend.name)
unless haproxy_backend.servers.length == response.body.length
raise QueryError,
'HAProxy query failed! Configured servers for this backend' \
"don't match the configuration file! `#{configuration.file_path}`"
end

# @type [Array<Hash>]
server_statuses = response.body
Expand Down

0 comments on commit c153fa6

Please sign in to comment.