mirror of
https://github.com/restic/restic.git
synced 2026-10-14 14:07:11 +00:00
fix Hound warning
This commit is contained in:
1 parent
32c2cafa89
commit
91dc14c9fc
1 file changed
+2
-2
@@ -53,7 +53,7 @@ func ParseConfig(s string) (interface{}, error) {
|
||||
}
|
||||
}
|
||||
|
||||
func createConfig(endpoint string, path []string, useHttp bool) (interface{}, error) {
|
||||
func createConfig(endpoint string, path []string, useHTTP bool) (interface{}, error) {
|
||||
var prefix string
|
||||
switch {
|
||||
case len(path) < 1:
|
||||
@@ -65,7 +65,7 @@ func createConfig(endpoint string, path []string, useHttp bool) (interface{}, er
|
||||
}
|
||||
return Config{
|
||||
Endpoint: endpoint,
|
||||
UseHTTP: useHttp,
|
||||
UseHTTP: useHTTP,
|
||||
Bucket: path[0],
|
||||
Prefix: prefix,
|
||||
}, nil
|
||||
|
||||
Reference in new issue
Block a user