зеркало из https://github.com/microsoft/docker.git
btrfs: Add comment to Put()
Document why we don't need to do anything in Put(). Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
This commit is contained in:
Родитель
e51af36a85
Коммит
a1851a6d3e
|
@ -206,6 +206,8 @@ func (d *Driver) Get(id string) (string, error) {
|
|||
}
|
||||
|
||||
func (d *Driver) Put(id string) {
|
||||
// Get() creates no runtime resources (like e.g. mounts)
|
||||
// so this doesn't need to do anything.
|
||||
}
|
||||
|
||||
func (d *Driver) Exists(id string) bool {
|
||||
|
|
Загрузка…
Ссылка в новой задаче