Skip to content

Commit 724d811

Browse files
author
Marcin Przepiorowski
committed
2.5.3.1 good
1 parent 0b1ca5c commit 724d811

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

bin/dx_provision_vdb.pl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304

305305
if ( defined($configureclone) ) {
306306

307-
if ($db->setconfigureCloneHook($postrefresh)) {
307+
if ($db->setconfigureCloneHook($configureclone)) {
308308
$ret = $ret + 1;
309309
last;
310310
}
@@ -313,63 +313,63 @@
313313

314314

315315
if ( defined($prerefresh) ) {
316-
if ($db->setPreRefreshHook($postrefresh)) {
316+
if ($db->setPreRefreshHook($prerefresh)) {
317317
$ret = $ret + 1;
318318
last;
319319
}
320320
}
321321

322322
if ( defined($prerewind) ) {
323-
if ($db->setPreRewindHook($postrefresh)) {
323+
if ($db->setPreRewindHook($prerewind)) {
324324
$ret = $ret + 1;
325325
last;
326326
}
327327
}
328328

329329
if ( defined($postrewind) ) {
330-
if ($db->setPostRewindHook($postrefresh)) {
330+
if ($db->setPostRewindHook($postrewind)) {
331331
$ret = $ret + 1;
332332
last;
333333
}
334334
}
335335

336336
if ( defined($presnapshot) ) {
337-
if ($db->setPreSnapshotHook($postrefresh)) {
337+
if ($db->setPreSnapshotHook($presnapshot)) {
338338
$ret = $ret + 1;
339339
last;
340340
}
341341
}
342342

343343
if ( defined($postsnapshot) ) {
344-
if ($db->setPostSnapshotHook($postrefresh)) {
344+
if ($db->setPostSnapshotHook($postsnapshot)) {
345345
$ret = $ret + 1;
346346
last;
347347
}
348348
}
349349

350350
if ( defined($prestart) ) {
351-
if ($db->setPreStartHook($postrefresh)) {
351+
if ($db->setPreStartHook($prestart)) {
352352
$ret = $ret + 1;
353353
last;
354354
}
355355
}
356356

357357
if ( defined($poststart) ) {
358-
if ($db->setPostStartHook($postrefresh)) {
358+
if ($db->setPostStartHook($poststart)) {
359359
$ret = $ret + 1;
360360
last;
361361
}
362362
}
363363

364364
if ( defined($prestop) ) {
365-
if ($db->setPreStopHook($postrefresh)) {
365+
if ($db->setPreStopHook($prestop)) {
366366
$ret = $ret + 1;
367367
last;
368368
}
369369
}
370370

371371
if ( defined($poststop) ) {
372-
if ($db->setPostStopHook($postrefresh)) {
372+
if ($db->setPostStopHook($poststop)) {
373373
$ret = $ret + 1;
374374
last;
375375
}

lib/VDB_obj.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,7 @@ sub setHook {
20632063
logger($self->{_debug}, "Entering VDB_obj::setHook",1);
20642064

20652065
my %hook_hash;
2066-
my $ret;
2066+
my $ret = 0;
20672067

20682068
if ($self->{_dlpxObject}->getApi() lt "1.5") {
20692069
%hook_hash = (

0 commit comments

Comments
 (0)