Unverified Commit 42ac5e90 authored by ccacciari's avatar ccacciari Committed by GitHub
Browse files

Merge pull request #98 from merretbuurman/rulebaseadaptations

Rulebaseadaptations
parents 1a28625f 82dabba8
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment