moby/integration
Sebastiaan van Stijn 01fd23b625
Fix volume CreatedAt being altered on initialization
The CreatedAt date was determined from the volume's `_data`
directory (`/var/lib/docker/volumes/<volumename>/_data`).
However, when initializing a volume, this directory is updated,
causing the date to change.

Instead of using the `_data` directory, use its parent directory,
which is not updated afterwards, and should reflect the time that
the volume was created.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-01-03 16:57:04 +01:00
..
build Merge pull request #43009 from thaJeztah/skip_TestBuildWCOWSandboxSize 2021-11-10 11:59:09 -08:00
config integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
container Merge pull request #44210 from corhere/chrootarchive-without-reexec 2022-11-11 10:47:09 -08:00
daemon daemon: remove migrateTrustKeyID() 2022-11-28 20:28:55 +01:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image List images with multiple since/before filters 2022-12-08 16:36:57 -05:00
internal integration/internal: use strings.Cut() and minor refactor 2022-12-21 11:09:01 +01:00
network integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
plugin integration/plugin: remove deprecated overlay2.override_kernel_check 2022-10-10 14:46:08 +02:00
secret integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
session bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
system integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume Fix volume CreatedAt being altered on initialization 2023-01-03 16:57:04 +01:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00