Skip to content

Commit

Permalink
fix: chmod'ing the manifest is unnecessary (#24165)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyssmith2nd committed Apr 3, 2023
1 parent eac0ee0 commit c854e53
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tsdb/index/tsi1/partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -1466,9 +1466,6 @@ func (m *Manifest) Write() (int64, error) {

tmp = f.Name()

if err = f.Chmod(0666); err != nil {
return fmt.Errorf("failed setting permissions on manifest file %q: %w", tmp, err)
}
if _, err = f.Write(buf); err != nil {
return fmt.Errorf("failed writing temporary manifest file %q: %w", tmp, err)
}
Expand Down

0 comments on commit c854e53

Please sign in to comment.