mirror of
https://github.com/docker/cli.git
synced 2026-09-08 10:05:45 -05:00
Merge pull request #4569 from dolph/master
spelling correction Upstream-commit: 6169dafab3e3e1b582476177be2afd29704f5e57 Component: engine
This commit is contained in:
@@ -138,7 +138,7 @@ func (srv *Server) ContainerKill(job *engine.Job) engine.Status {
|
||||
|
||||
// If we have a signal, look at it. Otherwise, do nothing
|
||||
if len(job.Args) == 2 && job.Args[1] != "" {
|
||||
// Check if we passed the singal as a number:
|
||||
// Check if we passed the signal as a number:
|
||||
// The largest legal signal is 31, so let's parse on 5 bits
|
||||
sig, err = strconv.ParseUint(job.Args[1], 10, 5)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user