mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 01:08:47 +02:00
api: log api error
This commit is contained in:
@@ -30,7 +30,7 @@ func (d *dockerInfo) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
func DockerInfo(w http.ResponseWriter, r *http.Request) {
|
||||
serveHTTP[dockerInfo, []dockerInfo](w, r, GetDockerInfo)
|
||||
serveHTTP[dockerInfo](w, r, GetDockerInfo)
|
||||
}
|
||||
|
||||
func GetDockerInfo(ctx context.Context, dockerClients DockerClients) ([]dockerInfo, gperr.Error) {
|
||||
|
||||
Reference in New Issue
Block a user