Method: Indocker::DeploymentProgress#finish_syncing_artifact

Defined in:
lib/indocker/deployment_progress.rb

#finish_syncing_artifact(server, artifact) ⇒ Object



179
180
181
182
183
184
185
# File 'lib/indocker/deployment_progress.rb', line 179

def finish_syncing_artifact(server, artifact)
  @semaphore.synchronize do
    @synced_artifacts[artifact][server][:finish] = Time.now
    @synced_artifacts[artifact][server][:state] = :finished
    log
  end
end