}
private ImageJanitor getImageJanitor() {
JanitorCrawler crawler;
if (configuration().getBoolOrElse("simianarmy.janitor.edda.enabled", false)) {
crawler = new EddaImageJanitorCrawler(createEddaClient(),
configuration().getStr("simianarmy.janitor.image.ownerId"),
(int) configuration().getNumOrElse("simianarmy.janitor.image.crawler.lookBackDays", 60),
awsClient().region());
} else {
throw new RuntimeException("Image Janitor only works when Edda is enabled.");