From b52683f1286350b4645a0087590c3876369a00fd Mon Sep 17 00:00:00 2001 From: Ramaseshan Date: Thu, 17 Mar 2016 16:40:42 +0530 Subject: [PATCH] Remote replication return statement missing added. Solves the multi dataset replication too. --- site-packages/integralstor_common/zfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site-packages/integralstor_common/zfs.py b/site-packages/integralstor_common/zfs.py index 35ab936..027dbdc 100644 --- a/site-packages/integralstor_common/zfs.py +++ b/site-packages/integralstor_common/zfs.py @@ -1,4 +1,4 @@ - +test import re, types, os, stat import pprint @@ -1817,6 +1817,7 @@ def remote_replication_command(pool,host,user,receive_pool): print cmd schedule,err = scheduler_utils.schedule_a_job(db_path,"Replication for %s"%(dataset),[{'replication':cmd}],retries=-2,extra = {'deletable':0}) print schedule,err + return True,None """ # Get the latest snapshot from the list to a given pool