def check_image()

in custom_image_cli/validation_tool/check_inputs.py [0:0]


def check_image(image, image_type, log):
    if not image:
        log.error("No matching image with %s \'%s\' : FAIL" % ('Imagetype', image_type))
        sys.exit(2)