From c172bffb9d085d9b8667f081ff62a38fdcb4955d Mon Sep 17 00:00:00 2001 From: "Dong H. Ahn" Date: Mon, 1 Nov 2021 14:16:01 -0700 Subject: [PATCH] jobspec: fix typos in comments --- resource/libjobspec/jobspec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/libjobspec/jobspec.cpp b/resource/libjobspec/jobspec.cpp index a676a7317..16539bacf 100644 --- a/resource/libjobspec/jobspec.cpp +++ b/resource/libjobspec/jobspec.cpp @@ -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(); res.count.max = res.count.min; @@ -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"); }