From: Chris Hofstaedtler Date: Fri, 19 Jan 2018 22:15:32 +0000 (+0100) Subject: Rename getRuleID to makeRuleID X-Git-Tag: dnsdist-1.3.0~144^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a510eff8a18f5186a235ce62cb579e172a649a3;p=pdns Rename getRuleID to makeRuleID --- diff --git a/pdns/dnsdist-lua-rules.cc b/pdns/dnsdist-lua-rules.cc index 2be77aa6a..671855b59 100644 --- a/pdns/dnsdist-lua-rules.cc +++ b/pdns/dnsdist-lua-rules.cc @@ -892,7 +892,7 @@ std::shared_ptr makeRule(const luadnsrule_t& var) return std::make_shared(nmg, true); } -static boost::uuids::uuid getRuleID(std::string& id) +static boost::uuids::uuid makeRuleID(std::string& id) { if (id.empty()) { return t_uuidGenerator(); @@ -912,7 +912,7 @@ void parseRuleParams(boost::optional params, boost::uuids::uuid } } - uuid = getRuleID(uuidStr); + uuid = makeRuleID(uuidStr); } void setupLuaRules()