Method: Chef::Resource::HabitatService#get_health_check_interval

Defined in:
lib/chef/resource/habitat_service.rb

#get_health_check_interval(service_details) ⇒ Object



290
291
292
293
294
295
# File 'lib/chef/resource/habitat_service.rb', line 290

def get_health_check_interval(service_details)
  service_details["health_check_interval"]["secs"]
rescue
  Chef::Log.debug("Health Check Interval for #{service_name} not found on Supervisor API")
  30
end