mirror of
https://github.com/containers/podman.git
synced 2025-11-13 17:47:13 +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:
4
vendor/github.com/containers/common/libnetwork/netavark/ipam.go
generated
vendored
4
vendor/github.com/containers/common/libnetwork/netavark/ipam.go
generated
vendored
@@ -59,9 +59,7 @@ func newIPAMError(cause error, msg string, args ...interface{}) *ipamError {
|
||||
// openDB will open the ipam database
|
||||
// Note that the caller has to Close it.
|
||||
func (n *netavarkNetwork) openDB() (*bbolt.DB, error) {
|
||||
// linter complains about the octal value
|
||||
// nolint:gocritic
|
||||
db, err := bbolt.Open(n.ipamDBPath, 0600, nil)
|
||||
db, err := bbolt.Open(n.ipamDBPath, 0o600, nil)
|
||||
if err != nil {
|
||||
return nil, newIPAMError(err, "failed to open database %s", n.ipamDBPath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user