From b3f1c9968649d379da895270749c59450fadcb4b Mon Sep 17 00:00:00 2001 From: Ansh Rupani Date: Wed, 24 Apr 2024 14:40:22 +0200 Subject: [PATCH] Revert "fixed typo" This reverts commit d15f44ac415ddf718ef4341da5e81e114deac0e5. --- src/bosh_azure_cpi/lib/cloud/azure/storage/blob_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bosh_azure_cpi/lib/cloud/azure/storage/blob_manager.rb b/src/bosh_azure_cpi/lib/cloud/azure/storage/blob_manager.rb index 2c98b33e4..378ee78e9 100644 --- a/src/bosh_azure_cpi/lib/cloud/azure/storage/blob_manager.rb +++ b/src/bosh_azure_cpi/lib/cloud/azure/storage/blob_manager.rb @@ -492,7 +492,7 @@ def apply_retry_policy(retry_data) if retry_data[:error].is_a?(OpenSSL::SSL::SSLError) || retry_data[:error].is_a?(OpenSSL::X509::StoreError) error_message = retry_data[:error].inspect - if [Bosh::AzureCloud::Helpers::ERROR_OPENSSL_RESET, Bosh::AzureCloud::Helpers::ERROR_OPENSSL_EOF_READ].any? { |error| error_message.include?(error) } + if [Bosh::AzureCloud::Helpers::ERROR_OPENSSL_RESET, Bosh::AzureCloud::Helpers:ERROR_OPENSSL_EOF_READ].any? { |error| error_message.include?(error) } # Retry on "Connection reset by peer - SSL_connect" error (OpenSSL::SSL::SSLError, OpenSSL::X509::StoreError) # https://github.com/cloudfoundry/bosh-azure-cpi-release/issues/234 retry_data[:retryable] = true