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