[DO NOT MERGE] Modify skopeo tests

The oci name changes in containers/image caused the skopeo test to fail

Signed-off-by: umohnani8 <umohnani@redhat.com>
This commit is contained in:
umohnani8
2017-08-25 11:30:40 -04:00
parent 5f6b0a00e2
commit bf6812ea86
5 changed files with 94 additions and 55 deletions

View File

@@ -155,6 +155,10 @@ func setupCertificates(dir string, tlsc *tls.Config) error {
if os.IsNotExist(err) {
return nil
}
if os.IsPermission(err) {
logrus.Debugf("Skipping scan of %s due to permission error: %v", dir, err)
return nil
}
return err
}