mirror of
https://github.com/containers/podman.git
synced 2025-11-15 10:38:56 +08:00
vendor c/common
Update the recent events-log changes to fix the build error. [NO NEW TESTS NEEDED] since there's no functional change. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/common/pkg/secrets/secrets.go
generated
vendored
3
vendor/github.com/containers/common/pkg/secrets/secrets.go
generated
vendored
@@ -102,7 +102,7 @@ func NewManager(rootPath string) (*SecretsManager, error) {
|
||||
return nil, errors.Wrapf(errInvalidPath, "path must be absolute: %s", rootPath)
|
||||
}
|
||||
// the lockfile functions require that the rootPath dir is executable
|
||||
if err := os.MkdirAll(rootPath, 0700); err != nil {
|
||||
if err := os.MkdirAll(rootPath, 0o700); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
@@ -237,7 +237,6 @@ func (s *SecretsManager) List() ([]Secret, error) {
|
||||
var ls []Secret
|
||||
for _, v := range secrets {
|
||||
ls = append(ls, v)
|
||||
|
||||
}
|
||||
return ls, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user