Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
integration
/
8805879b4dc92014381ba55b75955b295944ded6
/
.
/
bootstrap
/
vagrant-onap
/
lib
/
asserts
blob: 0e455382aa57936ea36ae4f3e754cfd7a637c076 [
file
] [
log
] [
blame
]
#!/bin/bash
set
-
o xtrace
# asserts_image() - Function that verifies if a specific image was created
function
asserts_image
{
if
[[
"$(docker images -q $1 2> /dev/null)"
==
""
]];
then
echo
"There is no $1 image"
exit
1
fi
}