docker.inspectImage(image);
} catch (ImageNotFoundException e) {
// If we get not found, see if we timed out above, since that's what we actually care
// to know, as the pull should have fixed the not found-ness.
if (wasTimeout != null) {
throw new ImagePullFailedException("Failed pulling image " + image + " because of timeout",
wasTimeout);
}
throw e;
}
}