Update vendor

This commit is contained in:
vcaesar 2017-12-15 22:39:57 +08:00
parent 15478423d7
commit 5971e02e26
2 changed files with 8 additions and 6 deletions

View File

@ -5,6 +5,7 @@ package process
import (
"context"
"fmt"
"os"
"strings"
"syscall"
"time"
@ -407,7 +408,8 @@ func (p *Process) Terminate() error {
}
func (p *Process) Kill() error {
return common.ErrNotImplementedError
process := os.Process{Pid: int(p.Pid)}
return process.Kill()
}
func getFromSnapProcess(pid int32) (int32, int32, string, error) {

10
vendor/vendor.json vendored
View File

@ -59,8 +59,8 @@
{
"checksumSHA1": "jWpwWWcywJPNhKTYxi4RXds+amQ=",
"path": "github.com/shirou/gopsutil/internal/common",
"revision": "b8c456e53432efdbba4ee9e55d27f69cb2dcf1ee",
"revisionTime": "2017-12-09T07:50:03Z"
"revision": "27389f01ec9364f60d6dba4fbe9751d3b7058d46",
"revisionTime": "2017-12-14T06:29:47Z"
},
{
"checksumSHA1": "UuwHornIODuEq7fYnsZwdVgERLk=",
@ -75,10 +75,10 @@
"revisionTime": "2017-11-12T16:40:41Z"
},
{
"checksumSHA1": "v3USS/LSyBuVc/DMBV+GX4ikZ5M=",
"checksumSHA1": "DRj2E2ZXWdb8UtaGLIDKa64IRHk=",
"path": "github.com/shirou/gopsutil/process",
"revision": "b8c456e53432efdbba4ee9e55d27f69cb2dcf1ee",
"revisionTime": "2017-12-09T07:50:03Z"
"revision": "27389f01ec9364f60d6dba4fbe9751d3b7058d46",
"revisionTime": "2017-12-14T06:29:47Z"
},
{
"checksumSHA1": "Nve7SpDmjsv6+rhkXAkfg/UQx94=",