Skip to content

Commit

Permalink
jobspec: fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dongahn committed Nov 1, 2021
1 parent 8efb329 commit c172bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/libjobspec/jobspec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ parse_error::parse_error(const YAML::Node &node, const char *msg)
namespace {
void parse_yaml_count (Resource& res, const YAML::Node &cnode)
{
/* count can have an unsigned interger value */
/* count can have an unsigned integer value */
if (cnode.IsScalar()) {
res.count.min = cnode.as<unsigned>();
res.count.max = res.count.min;
Expand All @@ -57,7 +57,7 @@ void parse_yaml_count (Resource& res, const YAML::Node &cnode)
throw parse_error (cnode, "count is not a mapping");
}

/* Verify existance of required entries */
/* Verify existence of required entries */
if (!cnode["min"]) {
throw parse_error (cnode, "Key \"min\" missing from count");
}
Expand Down

0 comments on commit c172bff

Please sign in to comment.