Mercurial > hg > orthanc-object-storage
comparison Azure/AzureBlobStoragePlugin.cpp @ 81:e29987d80ecf
fix
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 17 Oct 2022 13:38:32 +0200 |
parents | b3787f4aa16a |
children | 62752402edbb |
comparison
equal
deleted
inserted
replaced
80:b3787f4aa16a | 81:e29987d80ecf |
---|---|
201 std::string containerName; | 201 std::string containerName; |
202 bool enableLegacyStorageStructure; | 202 bool enableLegacyStorageStructure; |
203 bool storageContainsUnknownFiles; | 203 bool storageContainsUnknownFiles; |
204 bool createContainerIfNotExists; | 204 bool createContainerIfNotExists; |
205 | 205 |
206 if (orthancConfig.IsSection(PLUGIN_SECTION)) | 206 if (orthancConfig.IsSection(GetConfigurationSectionName())) |
207 { | 207 { |
208 OrthancPlugins::OrthancConfiguration pluginSection; | 208 OrthancPlugins::OrthancConfiguration pluginSection; |
209 orthancConfig.GetSection(pluginSection, PLUGIN_SECTION); | 209 orthancConfig.GetSection(pluginSection, GetConfigurationSectionName()); |
210 | 210 |
211 if (!BaseStorage::ReadCommonConfiguration(enableLegacyStorageStructure, storageContainsUnknownFiles, pluginSection)) | 211 if (!BaseStorage::ReadCommonConfiguration(enableLegacyStorageStructure, storageContainsUnknownFiles, pluginSection)) |
212 { | 212 { |
213 return nullptr; | 213 return nullptr; |
214 } | 214 } |