Remove remaining cases of '@message'

Our elasticSearch cluster previously used '@message', but we have since
moved over to using just 'message'. The rest of the uses of '@message'
were removed in I6fb0aa87a291660df879282e9a7851bbb27e9ac2

Change-Id: I2b5d0f176deddb1b1ab9e831395c3216e927d8bf
This commit is contained in:
Joe Gordon 2014-01-19 19:03:52 -08:00
parent 0671f07d7f
commit f4992d0421
2 changed files with 2 additions and 3 deletions

View File

@ -66,8 +66,7 @@ def result_ready(review=None, patch=None, name=None):
lets us know that we've got results waiting that we need to process.
"""
return generic('filename:"console.html" AND '
'(@message:"[SCP] Copying console log" '
'OR message:"[SCP] Copying console log") '
'message:"[SCP] Copying console log" '
'AND build_status:"FAILURE" '
'AND build_change:"%s" '
'AND build_patchset:"%s" '

View File

@ -159,7 +159,7 @@ class Hit(object):
new style ES has
_source[attr] for a flat space
old style ES has
_source['@attr'] for things like @message, @timestamp
_source['@attr'] for things like message, @timestamp
and
_source['@fields'][attr] for things like build_name, build_status