Fix comment for metadata/db.go

Fix comment

Signed-off-by: Taeho Nam <thn7440@gmail.com>
This commit is contained in:
Taeho Nam
2022-04-28 13:32:45 +09:00
committed by GitHub
parent 3437ba7574
commit b5370b0406

View File

@@ -215,8 +215,8 @@ func (m *DB) ContentStore() content.Store {
return m.cs
}
// Snapshotter returns a namespaced content store for
// the requested snapshotter name proxied to a snapshotter.
// Snapshotter returns a snapshotter for the requested snapshotter name
// proxied to a snapshotter.
func (m *DB) Snapshotter(name string) snapshots.Snapshotter {
sn, ok := m.ss[name]
if !ok {