Developing lightweight computation at the DSG edge

Commit 2ccc91e3 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[monitor-assign] Fix typo and linter


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 4a253c88
......@@ -23,7 +23,7 @@ var dbHostHelp = "The hostname or IP address where AntidoteDB is running"
var dbPort = 8087
var dbPortHelp = "The TCP port on which AntidoteDB is listening"
// The Timestamp struct contains a monitor's timestamp and a local timestamp
// The Timestamps struct contains a monitor's timestamp and a local timestamp
type Timestamps struct {
monitor int64
local int64
......@@ -62,9 +62,11 @@ var idNum int
// ID represents the ID of the monitor, in alfanumeric form
var ID = "0"
var IDts = "0_ts"
var idHelp = "Numeric ID of this monitoring instance"
// IDts holds a timestamp
var IDts = "0_ts"
// maxDevs defines the default maximum number of nodes a monitor is assigned to
var maxDevs = 1000
var maxDevsHelp = "Maximum number of devices to monitor"
......
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