shifter
shifter copied to clipboard
munge.py: get error message from libmunge
Obtain error messages from libmunge
instead of hard-coding them.
Perhaps, we could prefix error messages with "Munge error:"
...
@dmjacobsen, @scanon, please let me know if you have any comments or concerns regarding this PR
It looks reasonable. I need to try it out. I think it will break our test since I mock munge in those.
Coverage increased (+0.009%) to 78.4% when pulling eb8713beb019b8f0faa0bc424358932ed401447f on maxim-belkin:munge-str-error into 4c97268698a7c14c3bc3b57d7da52c247a4f5923 on NERSC:master.
We've been using Shifter with this patch on Blue Waters for a while now and didn't see any problems/issues related to this change.