Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Commit

Permalink
Updating version number, moved to top to make future updates faster (…
Browse files Browse the repository at this point in the history
…hopefully incorporate into the build script)
  • Loading branch information
Samuel Carroll committed Jan 10, 2019
1 parent 6cba893 commit f55b8d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion converter/output/rita/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const MetaDBDatabasesCollection = "databases"
//which houses input connection data
const RitaConnInputCollection = "conn"

var Version = "v2.0.0+ActiveCM-IPFIX"

//TODO: Use version in RITA as dep
// DBMetaInfo defines some information about the database
type DBMetaInfo struct {
Expand Down Expand Up @@ -120,7 +122,7 @@ func (o OutputDB) EnsureMetaDBRecordExists(dbName string) error {
Name: dbName,
ImportFinished: false,
Analyzed: false,
ImportVersion: "v2.0.0+ActiveCM-IPFIX",
ImportVersion: Version,
AnalyzeVersion: "",
})
if err != nil {
Expand Down

0 comments on commit f55b8d0

Please sign in to comment.