Browse Source

Merge pull request #12664 from jakesmith/hpcc-22324

HPCC-22324 Add EclMinus role
Gavin Halliday 6 years ago
parent
commit
15992c09ce
2 changed files with 4 additions and 1 deletions
  1. 3 1
      dali/base/dasess.cpp
  2. 1 0
      dali/base/dasess.hpp

+ 3 - 1
dali/base/dasess.cpp

@@ -70,7 +70,8 @@ static std::unordered_map<std::string, DaliClientRole> daliClientRoleMap = {
     { "TreeView", DCR_TreeView },
     { "DaliDiag", DCR_DaliDiag },
     { "Testing", DCR_Testing },
-    { "XRef", DCR_XRef }
+    { "XRef", DCR_XRef },
+    { "EclMinus", DCR_EclMinus },
 };
 
 const char *queryRoleName(DaliClientRole role)
@@ -101,6 +102,7 @@ const char *queryRoleName(DaliClientRole role)
     case DCR_DaliDiag: return "DaliDiag";
     case DCR_Testing: return "Testing";
     case DCR_XRef: return "XRef";
+    case DCR_EclMinus: return "EclMinus";
     }
     return "Unknown";
 }

+ 1 - 0
dali/base/dasess.hpp

@@ -78,6 +78,7 @@ enum DaliClientRole // if changed must update queryRoleName()
     DCR_ScheduleAdmin,
     DCR_Testing,
     DCR_XRef,
+    DCR_EclMinus,
     DCR_Max
 };