From: Michal Rakowski Date: Fri, 28 May 2021 06:42:04 +0000 (+0200) Subject: Fix using proper StorageGroupPolicy defined in the Pool resource X-Git-Tag: Release-11.3.2~524 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f2105c507bdc2da8f9cb28a2372c97512cdba8;p=thirdparty%2Fbacula.git Fix using proper StorageGroupPolicy defined in the Pool resource --- diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index abf87d771..353897d10 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -759,7 +759,7 @@ static RES_ITEM pool_items[] = { {"MigrationLowBytes", store_size64, ITEM(res_pool.MigrationLowBytes), 0, 0, 0}, {"NextPool", store_res, ITEM(res_pool.NextPool), R_POOL, 0, 0}, {"Storage", store_alist_res, ITEM(res_pool.storage), R_STORAGE, 0, 0}, - {"StorageGroupPolicy", store_storage_mngr, ITEM(res_job.storage_policy), 0, 0, 0}, + {"StorageGroupPolicy", store_storage_mngr, ITEM(res_pool.storage_policy), 0, 0, 0}, {"AutoPrune", store_bool, ITEM(res_pool.AutoPrune), 0, ITEM_DEFAULT, true}, {"Recycle", store_bool, ITEM(res_pool.Recycle), 0, ITEM_DEFAULT, true}, {"RecyclePool", store_res, ITEM(res_pool.RecyclePool), R_POOL, 0, 0},