vendor latest c/common from main

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-01-07 13:35:43 +01:00
parent 52b8f6e369
commit 1dbd68f061
81 changed files with 5267 additions and 2135 deletions

View File

@@ -30,6 +30,9 @@ func sliceRemoveDuplicates(strList []string) []string {
}
func (n *netavarkNetwork) commitNetwork(network *types.Network) error {
if err := os.MkdirAll(n.networkConfigDir, 0o755); err != nil {
return nil
}
confPath := filepath.Join(n.networkConfigDir, network.Name+".json")
f, err := os.Create(confPath)
if err != nil {