Commit f1096e39 authored by Daniel Salzman's avatar Daniel Salzman

conf: don't log error if no default template exists

parent 3061d9a3
......@@ -405,6 +405,7 @@ void conf_activate_modules(
case KNOT_EOK:
break;
case KNOT_ENOENT: // Check if a module is configured at all.
case KNOT_YP_EINVAL_ID:
return;
default:
ret = val.code;
......
......@@ -223,6 +223,7 @@ conf_val_t conf_default_get_txn(
// FALLTHROUGH
case KNOT_EOK:
case KNOT_ENOENT:
case KNOT_YP_EINVAL_ID:
break;
}
......@@ -276,6 +277,7 @@ bool conf_id_exists_txn(
CONF_LOG(LOG_ERR, "failed to check '%s' for identifier (%s)",
key0_name + 1, knot_strerror(ret));
// FALLTHROUGH
case KNOT_ENOENT:
case KNOT_YP_EINVAL_ID:
return false;
}
......
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