From: Michal Rakowski Date: Wed, 15 Dec 2021 13:02:32 +0000 (+0100) Subject: Fix for the 'show job' in regards to the Storage Group X-Git-Tag: Beta-15.0.0~718 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc943e5947e166e22a78f1451a036d8d9f7931f;p=thirdparty%2Fbacula.git Fix for the 'show job' in regards to the Storage Group --- diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index 3cc500855..854afb50d 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -1187,7 +1187,7 @@ void dump_resource(int type, RES *ares, void sendit(void *sock, const char *fmt, sendit(sock, _(" --> MaxRunSchedTime=%u\n"), res->res_job.MaxRunSchedTime); } if (res->res_job.storage) { - dump_storage_group(res->res_pool.storage, res->res_pool.storage_policy, sendit, sock); + dump_storage_group(res->res_job.storage, res->res_job.storage_policy, sendit, sock); } if (res->res_job.base) { JOB *job;