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:
@@ -46,6 +46,6 @@ func withImageConfig(ctx context.Context, i Image) SpecOpts {
|
||||
return WithImageConfig(ctx, i)
|
||||
}
|
||||
|
||||
func withNewRootFS(id string, i Image) NewContainerOpts {
|
||||
return WithNewRootFS(id, i)
|
||||
func withNewSnapshot(id string, i Image) NewContainerOpts {
|
||||
return WithNewSnapshot(id, i)
|
||||
}
|
||||
|
Reference in New Issue
Block a user