We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ce3a24 commit eb5de9cCopy full SHA for eb5de9c
1 file changed
worker/backup_handler.go
@@ -124,14 +124,13 @@ type UriHandler interface {
124
// Examples:
125
//
126
// s3://dgraph.s3.amazonaws.com/dgraph/backups?secure=true
127
-// minio://localhost:9000/dgraph?secure=true
128
// file:///tmp/dgraph/backups
129
// /tmp/dgraph/backups?compress=gzip
130
func NewUriHandler(uri *url.URL, creds *x.MinioCredentials) (UriHandler, error) {
131
switch uri.Scheme {
132
case "file", "":
133
return NewFileHandler(uri), nil
134
- case "minio", "s3":
+ case "s3":
135
return NewS3Handler(uri, creds)
136
}
137
return nil, errors.Errorf("Unable to handle url: %s", uri)
0 commit comments