mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix smallers bugs detected by new config-check integration test
This commit is contained in:
parent
18d6ab49d3
commit
bccdcb89cb
2 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ int stats_node_parse(struct node *n, json_t *cfg)
|
|||
|
||||
ret = stats_node_signal_parse(stats_sig, json_signal);
|
||||
if (ret)
|
||||
error("Failed to parse signal definition of node %s", node_name(n));
|
||||
error("Failed to parse statistics signal definition of node %s", node_name(n));
|
||||
|
||||
if (!sig->name) {
|
||||
const char *metric = stats_metrics[stats_sig->metric].name;
|
||||
|
|
|
@ -140,7 +140,7 @@ int zeromq_parse(struct node *n, json_t *cfg)
|
|||
switch (json_typeof(json_pub)) {
|
||||
case JSON_ARRAY:
|
||||
json_array_foreach(json_pub, i, json_val) {
|
||||
ep = json_string_value(json_pub);
|
||||
ep = json_string_value(json_val);
|
||||
if (!ep)
|
||||
error("All 'publish' settings must be strings");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue