From 27e13f94d9d1ec32e4dca9360aea1cb8e418c325 Mon Sep 17 00:00:00 2001 From: Tyler Treat Date: Tue, 15 Dec 2020 12:37:29 -0700 Subject: [PATCH] Correct code comment --- server/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/metadata.go b/server/metadata.go index 0a1557fe..38ff984a 100644 --- a/server/metadata.go +++ b/server/metadata.go @@ -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 {