Commit 27876c9b authored by Antony Chazapis's avatar Antony Chazapis
Browse files

Add instance to Aquarium receipt.

parent 4b71a0a4
......@@ -95,12 +95,13 @@ def queue_start(conn):
class Receipt(object):
def __init__(self, client, user, resource, value, details={}):
def __init__(self, client, user, instance, resource, value, details={}):
self.eventVersion = '1.0'
self.occurredMillis = int(time() * 1000)
self.receivedMillis = self.occurredMillis
self.clientID = client
self.userID = user
self.instanceID = instance
self.resource = resource
self.value = value
self.details = details
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment