Commit 620cdf02 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add TBvalid_node_id()

parent c7be9c11
......@@ -259,3 +259,7 @@ function TBvalid_osid($token) {
return TBcheck_dbslot($token, "os_info", "osid",
TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR);
}
function TBvalid_node_id($token) {
return TBcheck_dbslot($token, "nodes", "node_id",
TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment