mirror of
https://github.com/containers/podman.git
synced 2025-09-15 12:48:58 +08:00
update buildah and c/common to latest
also includes bumps for c/storage and c/image Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
10
vendor/github.com/containers/storage/layers.go
generated
vendored
10
vendor/github.com/containers/storage/layers.go
generated
vendored
@ -423,6 +423,15 @@ func (r *layerStore) Load() error {
|
||||
}
|
||||
}
|
||||
|
||||
info, statErr := os.Stat(r.layerspath())
|
||||
if statErr != nil && !os.IsNotExist(statErr) {
|
||||
return statErr
|
||||
}
|
||||
|
||||
if info != nil {
|
||||
r.layerspathModified = info.ModTime()
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
@ -1924,7 +1933,6 @@ func (r *layerStore) Modified() (bool, error) {
|
||||
}
|
||||
if info != nil {
|
||||
tmodified = info.ModTime() != r.layerspathModified
|
||||
r.layerspathModified = info.ModTime()
|
||||
}
|
||||
|
||||
return tmodified, nil
|
||||
|
Reference in New Issue
Block a user