Improve timeseries comments and fix Prometheus settings

This commit is contained in:
emanuele-f 2019-07-02 15:05:00 +02:00
parent 7136ff6fbf
commit c56b01b37e
4 changed files with 21 additions and 46 deletions

View file

@ -1833,7 +1833,6 @@ bool Utils::httpGetPost(lua_State* vm, char *url, char *username,
out_f = fopen(write_fname, "w");
if(out_f == NULL) {
char buf[64];
ntop->getTrace()->traceEvent(TRACE_ERROR, "Could not open %s for write", write_fname, strerror(errno));
curl_easy_cleanup(curl);
if(vm) lua_pushnil(vm);