mirror of
https://github.com/containers/podman.git
synced 2025-05-25 11:06:18 +08:00
Fixed typo in KillContainer
Signed-off-by: Andreas Schubert <schubter@gmail.com>
This commit is contained in:
@ -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"`
|
||||||
}{
|
}{
|
||||||
|
Reference in New Issue
Block a user