Fixed typo in KillContainer

Signed-off-by: Andreas Schubert <schubter@gmail.com>
This commit is contained in:
Andreas Schubert
2020-02-19 13:48:10 +01:00
parent 1bed53b02c
commit 1e4129a19d

View File

@ -15,7 +15,7 @@ import (
func KillContainer(w http.ResponseWriter, r *http.Request) (*libpod.Container, error) { func KillContainer(w http.ResponseWriter, r *http.Request) (*libpod.Container, error) {
runtime := r.Context().Value("runtime").(*libpod.Runtime) runtime := r.Context().Value("runtime").(*libpod.Runtime)
decoder := r.Context().Value("decorder").(*schema.Decoder) decoder := r.Context().Value("decoder").(*schema.Decoder)
query := struct { query := struct {
Signal syscall.Signal `schema:"signal"` Signal syscall.Signal `schema:"signal"`
}{ }{