Compare commits
No commits in common. "56028ac4792d4a9c2ef4a70bc812bc49867c69e2" and "a6a5fc14f01c82b2232645cb45df6b8f2fbbbf7f" have entirely different histories.
56028ac479
...
a6a5fc14f0
@ -2,7 +2,6 @@ package routers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"log"
|
|
||||||
endpoints "monitoring/app/storage/clickhouse/tables"
|
endpoints "monitoring/app/storage/clickhouse/tables"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
@ -17,7 +16,6 @@ func AddEndpointMetric (r *http.Request) (interface{}, int) {
|
|||||||
|
|
||||||
err = endpoints.AddEndpointMetric(body)
|
err = endpoints.AddEndpointMetric(body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf(err.Error())
|
|
||||||
return nil, http.StatusInternalServerError
|
return nil, http.StatusInternalServerError
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user