Commit b433cccb authored by Mike Hibler's avatar Mike Hibler

Fix column count for query updating bootdisk_lasttrim value.

Because this update has been failing, we have been TRIMing the d430 boot SSDs
on every reload since March 2018. Oops!
parent 72f9f70c
......@@ -5988,7 +5988,7 @@ get_node_loadinfo(tmcdreq_t *reqp, char **serverp, char **disktypep,
gettimeofday(&now, NULL);
if (now.tv_sec > (time_t)(trimtime + trimiv)) {
mydb_update("replace into node_attributes values "
reqp->nodeid, (unsigned)now.tv_sec);
dotrim = 1;
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