client: rename rootfs to snapshot in "With" functions
Clarify terminology around functions which use and create snapshots for containers. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
@@ -57,8 +57,8 @@ func withImageConfig(ctx context.Context, i Image) SpecOpts {
|
||||
}
|
||||
}
|
||||
|
||||
func withNewRootFS(id string, i Image) NewContainerOpts {
|
||||
// TODO: when windows has a snapshotter remove the withNewRootFS helper
|
||||
func withNewSnapshot(id string, i Image) NewContainerOpts {
|
||||
// TODO: when windows has a snapshotter remove the withNewSnapshot helper
|
||||
return func(ctx context.Context, client *Client, c *containers.Container) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user