lib/aptly_repo.rb in aptly_cli-0.1.6 vs lib/aptly_repo.rb in aptly_cli-0.1.7

- old
+ new

@@ -118,21 +118,21 @@ puts 'repository with such name does not exist' end json_response = JSON.parse(response.body) - unless json_response["failedFiles"].empty? + unless json_response["FailedFiles"].empty? begin rescue StandardError => e - puts "Files that failed to upload... #{json_response["failedFiles"]}" + puts "Files that failed to upload... #{json_response["FailedFiles"]}" puts e end end - unless json_response["report"]["warnings"].empty? + unless json_response["Report"]["Warnings"].empty? begin rescue StandardError => e - puts "File upload warning message[s]...#{json_response["report"]["warnings"]}" + puts "File upload warning message[s]...#{json_response["Report"]["Warnings"]}" puts e end end return response