mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
Adjustments for new breaking change in Azurite.
Azurite released another breaking change (seefbd018cd,096829b3,c38d6926, and Azurite issue 1039) so make adjustments as needed to documentation and tests. Also remove some dead code that hid the repo-storage-host option and was made obsolete by all these changes.
This commit is contained in:
@@ -572,10 +572,6 @@ sub backrestConfig
|
||||
delete($$oConfigClean{&CFGDEF_SECTION_GLOBAL}{&CFGOPT_LOG_LEVEL_STDERR});
|
||||
delete($$oConfigClean{&CFGDEF_SECTION_GLOBAL}{&CFGOPT_LOG_TIMESTAMP});
|
||||
|
||||
# Don't show repo1-storage-host option. Since Azure behaves differently with Azurite (which we use for local testing)
|
||||
# and the actual service we can't just fake /etc/hosts like we do for S3.
|
||||
delete($$oConfigClean{&CFGDEF_SECTION_GLOBAL}{'repo1-storage-host'});
|
||||
|
||||
if (keys(%{$$oConfigClean{&CFGDEF_SECTION_GLOBAL}}) == 0)
|
||||
{
|
||||
delete($$oConfigClean{&CFGDEF_SECTION_GLOBAL});
|
||||
|
||||
Reference in New Issue
Block a user