lib/heirloom/cli/shared.rb in heirloom-0.7.2 vs lib/heirloom/cli/shared.rb in heirloom-0.7.3rc1

- old
+ new

@@ -168,13 +168,13 @@ logger.error "Entry for #{entry} does not exist in #{region} catalog." exit 1 end end - def latest_id - @archive = Archive.new :name => @opts[:name], - :config => @config - @archive.list(1).first + def latest_id(args) + archive = Archive.new :name => args[:name], + :config => args[:config] + archive.list(1).first end end end end