Class: ConfigOMat::Op::StartActivatingInstance

Inherits:
LifecycleVM::OpBase
  • Object
show all
Defined in:
lib/config_o_mat/flip_flopper/op/start_activating_instance.rb

Instance Method Summary collapse

Instance Method Details

#callObject



24
25
26
27
28
29
30
31
# File 'lib/config_o_mat/flip_flopper/op/start_activating_instance.rb', line 24

def call
  instance_name = "#{service}#{activating_instance}"
  file_path = File.join(runtime_directory,  "#{instance_name}.start")

  logger&.notice(:service_start, name: instance_name)

  FileUtils.touch(file_path)
end