Method: Chef::Formatters::APIErrorFormatting#clock_skew?

Defined in:
lib/chef/formatters/error_inspectors/api_error_formatting.rb

#clock_skew?Boolean

Returns:

  • (Boolean)


163
164
165
# File 'lib/chef/formatters/error_inspectors/api_error_formatting.rb', line 163

def clock_skew?
  exception.response.body =~ /synchronize the clock/i
end