yats.git

commit d71c8b715ae6402db109a750d409db0d4dc84495

Author: Paolo Lulli <paolo@lulli.net>

Rename source param for queries from another user

 server/model/models.go | 4 ++--


diff --git a/server/model/models.go b/server/model/models.go
index 7454b638278c3aac1594c6f8f72565700977bb67..c35470218a7dfa100a08f62065f9eabbe9fa5740 100644
--- a/server/model/models.go
+++ b/server/model/models.go
@@ -48,12 +48,12 @@ 	From              int64  `json:"from" parquet:"name=mtime, type=INT64, convertedtype=TIMESTAMP_MILLIS"`
 	To                int64  `json:"to" parquet:"name=mtime, type=INT64, convertedtype=TIMESTAMP_MILLIS"`
 	IdClient          string `json:"id_client" parquet:"name=id_client, type=BYTE_ARRAY, convertedtype=UTF8"`
 	Name              string `json:"name" parquet:"name=name, type=BYTE_ARRAY, convertedtype=UTF8"`
-	SourceApplication string `json:"source_application" parquet:"name=source_application, type=BYTE_ARRAY, convertedtype=UTF8"`
+	SourceApplication string `json:"source" parquet:"name=source_application, type=BYTE_ARRAY, convertedtype=UTF8"`
 }
 
 type EventSearchRequest struct {
 	From              int64  `json:"from" parquet:"name=mtime, type=INT64, convertedtype=TIMESTAMP_MILLIS"`
 	To                int64  `json:"to" parquet:"name=mtime, type=INT64, convertedtype=TIMESTAMP_MILLIS"`
 	IdClient          string `json:"id_client" parquet:"name=id_client, type=BYTE_ARRAY, convertedtype=UTF8"`
-	SourceApplication string `json:"source_application" parquet:"name=source_application, type=BYTE_ARRAY, convertedtype=UTF8"`
+	SourceApplication string `json:"source" parquet:"name=source_application, type=BYTE_ARRAY, convertedtype=UTF8"`
 }