lib/zold/commands/push.rb in zold-0.22.8 vs lib/zold/commands/push.rb in zold-0.22.9
- old
+ new
@@ -151,10 +151,10 @@
response = Tempfile.open do |f|
@wallets.acq(id) { |w| FileUtils.copy_file(w.path, f.path) }
r.http(uri).put(f)
end
if response.status == 304
- @log.info("#{r}: same version of #{@wallets.acq(id, &:mnemo)} there, didn't push
+ @log.info("#{r}: same version of #{@wallets.acq(id, &:mnemo)} there, didn't push \
in #{Age.new(start, limit: 0.5)}")
return 0
end
r.assert_code(200, response)
json = JsonPage.new(response.body, uri).to_hash