refactor: code cleanup

This commit is contained in:
yusing
2025-04-16 12:12:46 +08:00
parent 47fb07fe4d
commit 82f48d1248
4 changed files with 9 additions and 36 deletions

View File

@@ -18,7 +18,7 @@ type Container struct {
}
func Containers(w http.ResponseWriter, r *http.Request) {
serveHTTP[Container, []Container](w, r, GetContainers)
serveHTTP[Container](w, r, GetContainers)
}
func GetContainers(ctx context.Context, dockerClients DockerClients) ([]Container, gperr.Error) {