From 648f768ff6b3b89ef4085ade1141543f1c3a4dd5 Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 6 Jun 2012 13:33:24 +0100 Subject: [PATCH] tests: fix the Ruby flexnbd wrapper for mirror --- tests/flexnbd.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/flexnbd.rb b/tests/flexnbd.rb index 3864c60..66801cb 100644 --- a/tests/flexnbd.rb +++ b/tests/flexnbd.rb @@ -67,7 +67,7 @@ class FlexNBD end def mirror(bandwidth=nil, action=nil) - control_command("mirror", ip, port, bandwidth, action) + control_command("mirror", ip, port, ip, bandwidth, action) end def acl(*acl) @@ -88,3 +88,4 @@ class FlexNBD end end end +