Skip to content

Commit

Permalink
Define set drive count for single erasure
Browse files Browse the repository at this point in the history
  • Loading branch information
Anis Elleuch committed Jul 5, 2022
1 parent 9ad7b30 commit ab70d20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/erasure-single-drive.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ func (es *erasureSingle) Shutdown(ctx context.Context) error {
return nil
}

func (es *erasureSingle) SetDriveCounts() int {
return 1
}

func (es *erasureSingle) BackendInfo() (b madmin.BackendInfo) {
b.Type = madmin.Erasure

Expand Down

0 comments on commit ab70d20

Please sign in to comment.