Merge pull request #6871 from baek9/patch-1

Fix comment for metadata/db.go
This commit is contained in:
Derek McGowan 2022-04-28 11:45:43 -07:00 committed by GitHub
commit bb8b134a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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