File: 000-update-import-paths.patch

package info (click to toggle)
minio-client 0.0~20250403-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,080 kB
  • sloc: sh: 1,011; makefile: 87
file content (72 lines) | stat: -rw-r--r-- 1,959 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
From: Mathias Gibbens <gibmat@debian.org>
Description: Update import paths to reflect Debian packaging
Forwarded: not-needed
diff --git a/cmd/accounting-reader.go b/cmd/accounting-reader.go
index 84bffb71..3d94a948 100644
--- a/cmd/accounting-reader.go
+++ b/cmd/accounting-reader.go
@@ -26,7 +26,7 @@ import (
 	"github.com/fatih/color"
 	"github.com/minio/pkg/v3/console"
 
-	"github.com/cheggaaa/pb"
+	"gopkg.in/cheggaaa/pb.v1"
 	json "github.com/minio/colorjson"
 	"github.com/minio/mc/pkg/probe"
 )
diff --git a/cmd/health_v1.go b/cmd/health_v1.go
index 961cbf45..98a95223 100644
--- a/cmd/health_v1.go
+++ b/cmd/health_v1.go
@@ -26,9 +26,9 @@ import (
 	"github.com/minio/madmin-go/v3"
 	"github.com/minio/mc/pkg/probe"
 	"github.com/minio/minio-go/v7/pkg/set"
-	"github.com/shirou/gopsutil/v3/cpu"
-	"github.com/shirou/gopsutil/v3/disk"
-	"github.com/shirou/gopsutil/v3/mem"
+	"github.com/shirou/gopsutil/cpu"
+	"github.com/shirou/gopsutil/disk"
+	"github.com/shirou/gopsutil/mem"
 )
 
 // HwServersV1 - hardware health Info
diff --git a/cmd/parallel-manager.go b/cmd/parallel-manager.go
index 9ba01ab2..89efa428 100644
--- a/cmd/parallel-manager.go
+++ b/cmd/parallel-manager.go
@@ -26,7 +26,7 @@ import (
 	"time"
 
 	"github.com/minio/minio-go/v7"
-	"github.com/shirou/gopsutil/v3/mem"
+	"github.com/shirou/gopsutil/mem"
 )
 
 const (
diff --git a/cmd/progress-bar.go b/cmd/progress-bar.go
index 332b357c..43433495 100644
--- a/cmd/progress-bar.go
+++ b/cmd/progress-bar.go
@@ -23,7 +23,7 @@ import (
 	"strings"
 	"time"
 
-	"github.com/cheggaaa/pb"
+	"gopkg.in/cheggaaa/pb.v1"
 	"github.com/fatih/color"
 	"github.com/minio/pkg/v3/console"
 )
diff --git a/cmd/update-notifier.go b/cmd/update-notifier.go
index d1d29616..3630d612 100644
--- a/cmd/update-notifier.go
+++ b/cmd/update-notifier.go
@@ -24,7 +24,7 @@ import (
 	"strings"
 	"time"
 
-	"github.com/cheggaaa/pb"
+	"gopkg.in/cheggaaa/pb.v1"
 	humanize "github.com/dustin/go-humanize"
 )