Skip to content

Commit 17780bf

Browse files
committed
debug
1 parent 515d573 commit 17780bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lib/client/zk/mrtzk.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def save_snapshot
491491
auth = "'Authorization: digest #{@admin_user}:#{@admin_passwd}'"
492492
url = "http://#{@admin_host}:#{@admin_port}/commands/snapshot?streaming=true"
493493
path = "#{@snapshot_path}/latest_snapshot.out"
494-
puts %x[ echo -H #{auth} #{url} --output #{path} ]
494+
puts "curl -H #{auth} #{url} --output #{path} "
495495
puts %x[ curl -H #{auth} #{url} --output #{path} ]
496496
end
497497

0 commit comments

Comments
 (0)