You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by le...@apache.org on 2017/07/03 18:55:27 UTC
[3/3] incubator-spot git commit: Removed extra empty space causing an
execution error
Removed extra empty space causing an execution error
Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/ceb059fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/ceb059fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/ceb059fc
Branch: refs/heads/SPOT-35_graphql_api
Commit: ceb059fccddda0ee9c69ff4698290aedad3f4e15
Parents: 514f059
Author: LedaLima <le...@apache.org>
Authored: Mon Jul 3 13:29:58 2017 -0500
Committer: LedaLima <le...@apache.org>
Committed: Mon Jul 3 13:29:58 2017 -0500
----------------------------------------------------------------------
spot-oa/api/resources/proxy.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/ceb059fc/spot-oa/api/resources/proxy.py
----------------------------------------------------------------------
diff --git a/spot-oa/api/resources/proxy.py b/spot-oa/api/resources/proxy.py
index f89e1d1..896a958 100644
--- a/spot-oa/api/resources/proxy.py
+++ b/spot-oa/api/resources/proxy.py
@@ -264,7 +264,7 @@ def create_timeline(anchor,clientips,date,top_results):
INSERT INTO {0}.proxy_timeline PARTITION(y={1} , m={2} ,d={3})
VALUES ('{4}', '{5}', '{6}',{7},'{8}','{9}','{10}')
""")\
- .format(db,date.year,date.month,date.day,\
+ .format(db,date.year,date.month,date.day,\
item["p_threat"],item["tstart"],item["tend"],item["duration"],item["clientip"],item["respcode"],item["respcodename"])
ImpalaEngine.execute_query(insert_query)