cerndb/dbod-api

Bug in host/aliases

Closed this issue · 0 comments

icot commented

When querying postgrest:

[INFO 29/Nov/2017:17:43:29 +0000 hostaliases:56] Requesting http://localhost:3000/host_aliases?host=eq.itrac5175                   
[DEBUG 29/Nov/2017:17:43:29 +0000 connectionpool:208] Starting new HTTP connection (1): localhost                                  
[DEBUG 29/Nov/2017:17:43:29 +0000 connectionpool:396] http://localhost:3000 "GET /host_aliases?host=eq.itrac5175 HTTP/1.1" 400 None
[ERROR 29/Nov/2017:17:43:29 +0000 hostaliases:66] Error fetching aliases: {"hint":null,"details":null,"code":"42703","message":"column host_aliases.host does not exist"}                                                                                              
[WARNING 29/Nov/2017:17:43:29 +0000 web:2063] 404 GET /api/v1/host/aliases/itrac5175 (128.141.193.138) 16.79ms