Skip to content

Commit

Permalink
Correct code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tylertreat committed Dec 15, 2020
1 parent 739008e commit 27e13f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ func (m *metadataAPI) CloseAndDeleteStream(stream *stream) error {
return errors.Wrap(err, "failed to delete stream")
}

// Remove the (now empty) stream data directory
// Remove the stream data directory
streamDataDir := filepath.Join(m.Server.config.DataDir, "streams", stream.GetName())
err = os.RemoveAll(streamDataDir)
if err != nil {
Expand Down

0 comments on commit 27e13f9

Please sign in to comment.