From 79469826de54ef990f24ff669ae85af8cb0359cc Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 29 Oct 2011 14:27:28 +0200 Subject: [PATCH] Make PurgeMigrationJob directive name correspond to doc --- bacula/src/dird/dird_conf.c | 2 +- regress/tests/migration-job-purge-test | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index 211f4d81cf..6bd1caa0b3 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -312,7 +312,7 @@ RES_ITEM job_items[] = { {"prunejobs", store_bool, ITEM(res_job.PruneJobs), 0, ITEM_DEFAULT, false}, {"prunefiles", store_bool, ITEM(res_job.PruneFiles), 0, ITEM_DEFAULT, false}, {"prunevolumes",store_bool, ITEM(res_job.PruneVolumes), 0, ITEM_DEFAULT, false}, - {"purgemigratejob", store_bool, ITEM(res_job.PurgeMigrateJob), 0, ITEM_DEFAULT, false}, + {"purgemigrationjob", store_bool, ITEM(res_job.PurgeMigrateJob), 0, ITEM_DEFAULT, false}, {"enabled", store_bool, ITEM(res_job.enabled), 0, ITEM_DEFAULT, true}, {"spoolattributes",store_bool, ITEM(res_job.SpoolAttributes), 0, ITEM_DEFAULT, false}, {"spooldata", store_bool, ITEM(res_job.spool_data), 0, ITEM_DEFAULT, false}, diff --git a/regress/tests/migration-job-purge-test b/regress/tests/migration-job-purge-test index 843b30eb7d..518b63c961 100755 --- a/regress/tests/migration-job-purge-test +++ b/regress/tests/migration-job-purge-test @@ -1,7 +1,7 @@ #!/bin/sh # # Run a simple backup of the Bacula build directory then migrate it -# to another device, and see if PurgeMigrateJob works as expected. +# to another device, and see if PurgeMigrationJob works as expected. # # This script uses the virtual disk autochanger # @@ -17,7 +17,7 @@ echo "${cwd}/build" >${cwd}/tmp/file-list change_jobname NightlySave $JobName -$bperl -e 'add_attribute("$conf/bacula-dir.conf", "PurgeMigrateJob", "yes", "Job", "migrate-job")' +$bperl -e 'add_attribute("$conf/bacula-dir.conf", "PurgeMigrationJob", "yes", "Job", "migrate-job")' start_test -- 2.39.5