From d8797fa0d761a4d5f3ec9e15588a907defb7c0d8 Mon Sep 17 00:00:00 2001 From: sbyrd Date: Thu, 17 Dec 2020 22:31:41 -0500 Subject: [PATCH] roles --- image.php | 1 + podmanImageManager.php | 1 + 2 files changed, 2 insertions(+) diff --git a/image.php b/image.php index 30d76ff..23d606b 100644 --- a/image.php +++ b/image.php @@ -19,6 +19,7 @@ class image extends objectStructs public function __construct($vars) { + $this->Log(__FUNCTION__ . " load image object with: ".print_r($vars,true)); if (is_array($vars)) { $this->imageName = (isset($vars['image']) ? $vars['image'] : diff --git a/podmanImageManager.php b/podmanImageManager.php index f478711..e30f17b 100644 --- a/podmanImageManager.php +++ b/podmanImageManager.php @@ -114,6 +114,7 @@ class podmanImageManager implements podmanImageManagerInterface try { $ImageRaw = $this->doRequest($ImageManifestURL, null, array('Accept: application/vnd.oci.image.manifest.v1+json'),true); // echo "
image maniest
".print_r($ImageRaw,true)."
"; + } catch (\Exception $e) {