diff --git a/src/dbnode/storage/bootstrap/bootstrapper/fs/fs.go b/src/dbnode/storage/bootstrap/bootstrapper/fs/fs.go index 2bb9c604c3..798bafcaee 100644 --- a/src/dbnode/storage/bootstrap/bootstrapper/fs/fs.go +++ b/src/dbnode/storage/bootstrap/bootstrapper/fs/fs.go @@ -18,6 +18,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. +// Package fs implements file system bootstrapping. package fs import ( diff --git a/src/dbnode/storage/profiler/profiler.go b/src/dbnode/storage/profiler/profiler.go index ff0a4c4ace..e4b3a13ac8 100644 --- a/src/dbnode/storage/profiler/profiler.go +++ b/src/dbnode/storage/profiler/profiler.go @@ -81,6 +81,7 @@ func (f FileProfiler) StartProfile(name string) (ProfileContext, error) { type profileType int +// String returns string representation of profile type. func (p profileType) String() string { switch p { case cpuProfile: diff --git a/src/dbnode/storage/profiler/profiler_test.go b/src/dbnode/storage/profiler/profiler_test.go index 383e8dce7d..859e69b685 100644 --- a/src/dbnode/storage/profiler/profiler_test.go +++ b/src/dbnode/storage/profiler/profiler_test.go @@ -61,7 +61,6 @@ func teardown() error { } func TestFileProfile(t *testing.T) { - tests := []struct { name string fileNames []string