File: use-mitchellh-go-ps.patch

package info (click to toggle)
goss 0.4.9-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,692 kB
  • sloc: sh: 984; makefile: 139
file content (27 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Use mitchellh/go-ps package.
Author: Lena Voytek <lena.voytek@canonical.com>
Forwarded: not-needed
Last-Update: 2024-04-10
--- a/system/process.go
+++ b/system/process.go
@@ -3,8 +3,8 @@
 import (
 	"context"
 
-	"github.com/goss-org/go-ps"
 	"github.com/goss-org/goss/util"
+	"github.com/mitchellh/go-ps"
 )
 
 type Process interface {
--- a/system/system.go
+++ b/system/system.go
@@ -10,7 +10,7 @@
 
 	"github.com/aelsabbahy/GOnetstat"
 	// This needs a better name
-	"github.com/goss-org/go-ps"
+	"github.com/mitchellh/go-ps"
 
 	util2 "github.com/goss-org/goss/util"
 )