]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix for the 'show job' in regards to the Storage Group
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Wed, 15 Dec 2021 13:02:32 +0000 (14:02 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:57 +0000 (13:56 +0200)
bacula/src/dird/dird_conf.c

index 3cc500855779a51cbabaa38d873b62bb0c8ff133..854afb50dc8a1556abb279e0978b402afb8b2774 100644 (file)
@@ -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;