lib/heirloom/cli/shared.rb in heirloom-0.12.3 vs lib/heirloom/cli/shared.rb in heirloom-0.12.4

- old
+ new

@@ -74,9 +74,14 @@ logger.error "Valid regions: #{valid_regions.join(', ')}" exit 1 end end + def ensure_valid_metadata_region(config) + ensure_valid_region :region => config.metadata_region, + :config => config + end + def ensure_metadata_in_upload_region(args) config = args[:config] regions = args[:regions] logger = config.logger