lib/percheron/actions/create.rb in percheron-0.7.13 vs lib/percheron/actions/create.rb in percheron-0.7.14
- old
+ new
@@ -13,11 +13,11 @@
end
def execute!
results = []
if unit.exists?
- $logger.debug "Unit '#{unit.name}' already exists"
+ $logger.debug "Unit '#{unit.display_name}' already exists"
else
results << create!
end
results.compact.empty? ? nil : unit
end
@@ -88,10 +88,10 @@
$logger.debug JSON.parse(out)
end
end
def create_unit!
- $logger.info "Creating '#{unit.name}' unit"
+ $logger.info "Creating '#{unit.display_name}' unit"
Connection.perform(Docker::Container, :create, options)
end
def start!
return nil if !unit.startable? || !start?