Method: Datadog::Core::Remote::Client#sync

Defined in:
lib/datadog/core/remote/client.rb

#syncObject



29
30
31
32
33
34
35
36
37
38
# File 'lib/datadog/core/remote/client.rb', line 29

def sync
  # TODO: Skip sync if no capabilities are registered
  response = transport.send_config(payload)

  if response.ok?
    process_response(response)
  elsif response.internal_error?
    raise TransportError, response.to_s
  end
end