We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e3ca2 commit 9d4c2d0Copy full SHA for 9d4c2d0
runc.go
@@ -340,14 +340,14 @@ func (o *KillOpts) args() (out []string) {
340
}
341
342
// Kill sends the specified signal to the container
343
-func (r *Runc) Kill(context context.Context, id string, sig int, opts *KillOpts) error {
+func (r *Runc) Kill(context context.Context, id string, sig string, opts *KillOpts) error {
344
args := []string{
345
"kill",
346
347
if opts != nil {
348
args = append(args, opts.args()...)
349
350
- return r.runOrError(r.command(context, append(args, id, strconv.Itoa(sig))...))
+ return r.runOrError(r.command(context, append(args, id, sig)...))
351
352
353
// Stats return the stats for a container like cpu, memory, and io
0 commit comments