diff --git a/src/java/com/netflix/ice/basic/BasicReservationService.java b/src/java/com/netflix/ice/basic/BasicReservationService.java index 7a34ea4d..bce23d04 100644 --- a/src/java/com/netflix/ice/basic/BasicReservationService.java +++ b/src/java/com/netflix/ice/basic/BasicReservationService.java @@ -172,8 +172,10 @@ private void pollAPI() throws Exception { } UsageType usageType = getUsageType(offer.getInstanceType(), offer.getProductDescription()); // Unknown Zone - if (Zone.getZone(offer.getAvailabilityZone()) == null) + if (Zone.getZone(offer.getAvailabilityZone()) == null){ logger.error("No Zone for " + offer.getAvailabilityZone()); + continue; + } hasNewPrice = setPrice(utilization, currentTime, Zone.getZone(offer.getAvailabilityZone()).region, usageType, offer.getFixedPrice(), hourly) || hasNewPrice;