Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use JSON.parse for parsing

  • Loading branch information...
commit 5695e36057734212041e8a0c4bac7eaf954c21ac 1 parent acccac7
@ddollar ddollar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/taps/operation.rb
View
2  lib/taps/operation.rb
@@ -343,7 +343,7 @@ def fetch_remote_tables_info
retries = 0
max_retries = 10
begin
- tables = JSON.load(session_resource['pull/table_names'].get(http_headers).to_s)
+ tables = JSON.parse(session_resource['pull/table_names'].get(http_headers).to_s)
rescue RestClient::Exception
retries += 1
retry if retries <= max_retries
Please sign in to comment.
Something went wrong with that request. Please try again.