Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #98 from merretbuurman/rulebaseadaptations
Browse files Browse the repository at this point in the history
Rulebaseadaptations
  • Loading branch information
ccacciari authored Jan 7, 2019
2 parents 1a28625 + 82dabba commit 42ac5e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rulebase/pid-service.re
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ EUDATUpdatePIDWithNewChild(*parentPID, *childPID) {
#-------------------------------------------------------------------------------
EUDATGeteValPid(*pid, *key) {
logVerbose("[EUDATGeteValPid] get *key from *pid");
if (*pid == "") {
# throw error to avoid costly interaction with pid server that will fail anyway
logError("[EUDATGeteValPid] No PID provided. This will fail.");
*errorMsg = "Trying to read values from PID when no PID provided.";
failmsg(-1, *errorMsg); # TODO Return a more suitable return code
}
getEpicApiParameters(*credStoreType, *credStorePath, *epicApi, *serverID, *epicDebug);
msiExecCmd("epicclient.py", "*credStoreType *credStorePath read *pid --key *key",
"null", "null", "null", *outGRP);
Expand Down

0 comments on commit 42ac5e9

Please sign in to comment.