We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 515d573 commit 17780bfCopy full SHA for 17780bf
app/lib/client/zk/mrtzk.rb
@@ -491,7 +491,7 @@ def save_snapshot
491
auth = "'Authorization: digest #{@admin_user}:#{@admin_passwd}'"
492
url = "http://#{@admin_host}:#{@admin_port}/commands/snapshot?streaming=true"
493
path = "#{@snapshot_path}/latest_snapshot.out"
494
- puts %x[ echo -H #{auth} #{url} --output #{path} ]
+ puts "curl -H #{auth} #{url} --output #{path} "
495
puts %x[ curl -H #{auth} #{url} --output #{path} ]
496
end
497
0 commit comments