def analyze(image_obj, args, dfile_lock=False, dfobj=None): '''Analyze the image object either using the default method or the extended method''' if not dfile_lock and args.extend: run_extension(image_obj, args.extend) else: analyze_docker_image(image_obj, args.redo, dfile_lock, dfobj)
def analyze(image_obj, args, is_dockerfile=False): '''Analyze the image object either using the default method or the extended method''' if args.extend: run_extension(image_obj, args.extend) else: analyze_docker_image(image_obj, args.redo, is_dockerfile)