virtualhost hostc create

This commit is contained in:
sbyrd 2020-12-18 22:08:55 -05:00
parent 6bae547730
commit ef7d996bf4
1 changed files with 13 additions and 2 deletions

View File

@ -85,6 +85,17 @@ class image extends objectStructs
return true;
}
else
{
foreach($this->annotations->roles as $RoleRow)
{
if ($RoleRow === $Role)
{
$this->Log(__FUNCTION__ . "--Image has role (found as role value and not key): $Role");
}
}
}
$this->Log(__FUNCTION__ . "--Image does not seem to have role as key or as value within ->roles array ");
return false;
}
}