lib/percheron/commands/logs.rb in percheron-0.7.6 vs lib/percheron/commands/logs.rb in percheron-0.7.7

- old
+ new

@@ -1,15 +1,15 @@ module Percheron module Commands class Logs < Abstract parameter('STACK_NAME', 'stack name', required: true) - parameter('CONTAINER_NAME', 'container name', required: true) + parameter('UNIT_NAME', 'unit name', required: true) option('--follow', :flag, 'follow the logs', default: false) def execute super - stack.logs!(container_name, follow: follow?) + stack.logs!(unit_name, follow: follow?) end end end end