Skip to content

Commit

Permalink
jobspec: replace minus operator to multiplication
Browse files Browse the repository at this point in the history
Make the implementation come to compliance with RFC14's JRC rule section.
Tested with resource-query and this one-liner seems enough.
  • Loading branch information
dongahn committed Nov 23, 2017
1 parent a2b1063 commit 036c631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/libjobspec/jobspec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void parse_yaml_count (Resource& res, const YAML::Node &cnode)
res.count.oper = cnode["operator"].as<char>();
switch (res.count.oper) {
case '+':
case '-':
case '*':
case '^':
break;
default:
Expand Down

0 comments on commit 036c631

Please sign in to comment.