fix(deps): update github.com/containers/common digest to 9342cdd

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2023-09-28 00:29:37 +00:00
committed by GitHub
parent 94139ece9e
commit fda028ca07
4 changed files with 9 additions and 5 deletions

View File

@ -9,6 +9,7 @@ import (
"encoding/hex"
"errors"
"fmt"
"io/fs"
"os"
"path/filepath"
"strings"
@ -201,7 +202,10 @@ func (n *cniNetwork) loadNetworks() error {
net, err := createNetworkFromCNIConfigList(conf, file)
if err != nil {
logrus.Errorf("CNI config list %s could not be converted to a libpod config, skipping: %v", file, err)
// ignore ENOENT as the config has been removed in the meantime so we can just ignore this case
if !errors.Is(err, fs.ErrNotExist) {
logrus.Errorf("CNI config list %s could not be converted to a libpod config, skipping: %v", file, err)
}
continue
}
logrus.Debugf("Successfully loaded network %s: %v", net.Name, net)