diff 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
line wrap: on
line diff
--- a/Azure/AzureBlobStoragePlugin.cpp	Sat Oct 15 07:49:30 2022 +0200
+++ b/Azure/AzureBlobStoragePlugin.cpp	Mon Oct 17 13:38:32 2022 +0200
@@ -203,10 +203,10 @@
   bool storageContainsUnknownFiles;
   bool createContainerIfNotExists;
 
-  if (orthancConfig.IsSection(PLUGIN_SECTION))
+  if (orthancConfig.IsSection(GetConfigurationSectionName()))
   {
     OrthancPlugins::OrthancConfiguration pluginSection;
-    orthancConfig.GetSection(pluginSection, PLUGIN_SECTION);
+    orthancConfig.GetSection(pluginSection, GetConfigurationSectionName());
 
     if (!BaseStorage::ReadCommonConfiguration(enableLegacyStorageStructure, storageContainsUnknownFiles, pluginSection))
     {