summaryrefslogtreecommitdiff
path: root/debian/patches/go-homedir.patch
blob: 7d8e9db6ff17192a0b9e7ae34448b745629b81c2 (plain)
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
Description: Use mitchellh/go-homedir instead of the minio-specific fork.
 The modifications in the fork are not believed to be required.
Author: Michael Stapelberg <stapelberg@debian.org>
Forwarded: https://github.com/mitchellh/go-homedir/pull/19
Last-Update: 2017-07-21

---

Index: golang-github-minio-minio-go/pkg/credentials/file_aws_credentials.go
===================================================================
--- golang-github-minio-minio-go.orig/pkg/credentials/file_aws_credentials.go
+++ golang-github-minio-minio-go/pkg/credentials/file_aws_credentials.go
@@ -22,7 +22,7 @@ import (
 	"path/filepath"
 
 	"github.com/go-ini/ini"
-	homedir "github.com/minio/go-homedir"
+	homedir "github.com/mitchellh/go-homedir"
 )
 
 // A FileAWSCredentials retrieves credentials from the current user's home
Index: golang-github-minio-minio-go/pkg/credentials/file_minio_client.go
===================================================================
--- golang-github-minio-minio-go.orig/pkg/credentials/file_minio_client.go
+++ golang-github-minio-minio-go/pkg/credentials/file_minio_client.go
@@ -24,7 +24,7 @@ import (
 	"path/filepath"
 	"runtime"
 
-	homedir "github.com/minio/go-homedir"
+	homedir "github.com/mitchellh/go-homedir"
 )
 
 // A FileMinioClient retrieves credentials from the current user's home