Skip to content

Commit

Permalink
fix Error: missing config vars for polling
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-brun committed May 31, 2024
1 parent 2f64122 commit a8687ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adapters/vnfm_generic/polld/vnfm_generic_poll.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ function get_health($PROTOCOL, $ME_IP, $HTTP_PORT, $BASE_URL_MS, $TOKEN, $auth_m
$missing_conf_vars[] = $conf_var_name;
}
}
if (empty($missing_conf_vars))

if (!empty($missing_conf_vars))
{
sms_log_error("Error: missing config vars for polling: " . implode(', ', $missing_conf_vars));
return ERR_SD_NOT_CONFIGURED;
Expand Down

0 comments on commit a8687ef

Please sign in to comment.