From: Eric Bollengier Date: Mon, 30 Nov 2020 09:59:10 +0000 (+0100) Subject: Fix Cloud::Hostname configuration flag X-Git-Tag: Release-11.3.2~973 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5220fed64c6cfffd5e8129d1374ee71a95504071;p=thirdparty%2Fbacula.git Fix Cloud::Hostname configuration flag The flag Hostname is mandatory for S3 and File. It is not for other cloud providers, but we support only these two for the moment. --- diff --git a/bacula/src/stored/stored_conf.c b/bacula/src/stored/stored_conf.c index 12f87a254..118b0eb39 100644 --- a/bacula/src/stored/stored_conf.c +++ b/bacula/src/stored/stored_conf.c @@ -209,7 +209,7 @@ static RES_ITEM cloud_items[] = { {"Name", store_name, ITEM(res_cloud.hdr.name), 0, ITEM_REQUIRED, 0}, {"Description", store_str, ITEM(res_cloud.hdr.desc), 0, 0, 0}, {"Driver", store_cloud_driver, ITEM(res_cloud.driver_type), 0, ITEM_REQUIRED, 0}, - {"HostName", store_strname,ITEM(res_cloud.host_name), 0, 0, 0}, + {"HostName", store_strname,ITEM(res_cloud.host_name), 0, 0, ITEM_REQUIRED}, // Only S3/File {"BucketName", store_strname,ITEM(res_cloud.bucket_name), 0, ITEM_REQUIRED, 0}, {"Region", store_strname,ITEM(res_cloud.region), 0, 0, 0}, {"AccessKey", store_strname,ITEM(res_cloud.access_key), 0, 0, 0},