浏览代码

Merge pull request #8516 from richardkchapman/dali-plugin2

HPCC-15377 Update dali plugin code to match new environment layout

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 9 年之前
父节点
当前提交
51d1860155
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      system/jlib/jutil.cpp

+ 1 - 1
system/jlib/jutil.cpp

@@ -500,7 +500,7 @@ void SharedObject::unload()
 
 
 IPluggableFactory *loadPlugin(const IPropertyTree *pluginInfo)
 IPluggableFactory *loadPlugin(const IPropertyTree *pluginInfo)
 {
 {
-    const char *pluginName = pluginInfo->queryProp("@name");
+    const char *pluginName = pluginInfo->queryProp("@pluginName");
     const char *entrypoint = pluginInfo->queryProp("@entrypoint");
     const char *entrypoint = pluginInfo->queryProp("@entrypoint");
     if (!pluginName || !entrypoint)
     if (!pluginName || !entrypoint)
         throw makeStringException(0, "Plugin information missing plugin name or entrypoint");
         throw makeStringException(0, "Plugin information missing plugin name or entrypoint");