diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2019-04-10 10:26:21 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2019-04-10 18:16:03 -0400 |
commit | 0b1c3c0b66733e895d1bff469dc0f211fcbb1c08 (patch) | |
tree | 26799448b2929fc6b47ed4a18133832939c254ff /vendor/github.com/containers/storage/drivers/btrfs | |
parent | ef1629be9c94c2543cad3f060a651882b1c8914b (diff) | |
download | podman-0b1c3c0b66733e895d1bff469dc0f211fcbb1c08.tar.gz podman-0b1c3c0b66733e895d1bff469dc0f211fcbb1c08.tar.bz2 podman-0b1c3c0b66733e895d1bff469dc0f211fcbb1c08.zip |
bump(github.com/containers/storage,github.com/containers/image)
Bump github.com/containers/storage and github.com/containers/image, to
commits 06b6c2e4cf254f5922a79da058c94ac2a65bb92f and
93bced01015eb94bec4821df1876314be8197680, respectively.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Diffstat (limited to 'vendor/github.com/containers/storage/drivers/btrfs')
-rw-r--r-- | vendor/github.com/containers/storage/drivers/btrfs/btrfs.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/containers/storage/drivers/btrfs/btrfs.go b/vendor/github.com/containers/storage/drivers/btrfs/btrfs.go index 567cda9d3..30254d9fb 100644 --- a/vendor/github.com/containers/storage/drivers/btrfs/btrfs.go +++ b/vendor/github.com/containers/storage/drivers/btrfs/btrfs.go @@ -490,6 +490,11 @@ func (d *Driver) quotasDirID(id string) string { return path.Join(d.quotasDir(), id) } +// CreateFromTemplate creates a layer with the same contents and parent as another layer. +func (d *Driver) CreateFromTemplate(id, template string, templateIDMappings *idtools.IDMappings, parent string, parentIDMappings *idtools.IDMappings, opts *graphdriver.CreateOpts, readWrite bool) error { + return d.Create(id, template, opts) +} + // CreateReadWrite creates a layer that is writable for use as a container // file system. func (d *Driver) CreateReadWrite(id, parent string, opts *graphdriver.CreateOpts) error { |