diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-07 12:53:45 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-07 12:53:45 -0700 |
| commit | 9c84576258e05b05abee5eac36f8fc565c35bb8a (patch) | |
| tree | eee22b52f54779044fc94aa71161e2aad9ffeec8 /lib | |
| parent | 65145e6be87df7b0440fb98c11abc23a2b3c49ed (diff) | |
use single table inheritance for events table.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/fake_agent.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fake_agent.rb b/lib/fake_agent.rb index f6f2538..a3b4002 100644 --- a/lib/fake_agent.rb +++ b/lib/fake_agent.rb @@ -68,7 +68,7 @@ class FakeAgent body = { event: { agent_id: id, - name: event, + type: event, data: { fingerprint: fingerprint_for(file), path: file, @@ -97,7 +97,6 @@ class FakeAgent def disposition_for(file) fingerprint = fingerprint_for(file) body = { - name: 'lookup', data: { fingerprint: fingerprint, path: File.expand_path(file) |
