We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b5d0c78 + ce0d248 commit 36e4c8eCopy full SHA for 36e4c8e
1 file changed
client.go
@@ -557,6 +557,10 @@ func (c *Client) ContentStore() content.Store {
557
558
// SnapshotService returns the underlying snapshotter for the provided snapshotter name
559
func (c *Client) SnapshotService(snapshotterName string) snapshots.Snapshotter {
560
+ snapshotterName, err := c.resolveSnapshotterName(context.Background(), snapshotterName)
561
+ if err != nil {
562
+ snapshotterName = DefaultSnapshotter
563
+ }
564
if c.snapshotters != nil {
565
return c.snapshotters[snapshotterName]
566
}
0 commit comments