wip
This commit is contained in:
@ -6,12 +6,12 @@ import (
|
||||
)
|
||||
|
||||
func renderKernel(w http.ResponseWriter, r *http.Request, ctx *renderContext) error {
|
||||
path, err := ctx.distFetch("kernels", ctx.Group.Kernel)
|
||||
path, err := ctx.distFetch("kernels", ctx.Host.Kernel)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
log.Printf("sending kernel %s for %q", ctx.Group.Kernel, ctx.Host.Name)
|
||||
log.Printf("sending kernel %s for %q", ctx.Host.Kernel, ctx.Host.Name)
|
||||
http.ServeFile(w, r, path)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user