Skip to content

Commit eb5de9c

Browse files
fix(core): remove minio from backup options
1 parent 1ce3a24 commit eb5de9c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

worker/backup_handler.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,13 @@ type UriHandler interface {
124124
// Examples:
125125
//
126126
// s3://dgraph.s3.amazonaws.com/dgraph/backups?secure=true
127-
// minio://localhost:9000/dgraph?secure=true
128127
// file:///tmp/dgraph/backups
129128
// /tmp/dgraph/backups?compress=gzip
130129
func NewUriHandler(uri *url.URL, creds *x.MinioCredentials) (UriHandler, error) {
131130
switch uri.Scheme {
132131
case "file", "":
133132
return NewFileHandler(uri), nil
134-
case "minio", "s3":
133+
case "s3":
135134
return NewS3Handler(uri, creds)
136135
}
137136
return nil, errors.Errorf("Unable to handle url: %s", uri)

0 commit comments

Comments
 (0)