go fmt fixes
This commit is contained in:
parent
412df15265
commit
5b2fe65d14
|
@ -27,7 +27,7 @@ func NewZabbixMetric(host, key, value string) *ZabbixMetric {
|
||||||
Host: host,
|
Host: host,
|
||||||
Key: key,
|
Key: key,
|
||||||
Value: value,
|
Value: value,
|
||||||
Timestamp: time.Now().Unix()
|
Timestamp: time.Now().Unix(),
|
||||||
}
|
}
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ func NewZabbixPacket(data []*ZabbixMetric) *ZabbixPacket {
|
||||||
p := &ZabbixPacket{
|
p := &ZabbixPacket{
|
||||||
Request: `sender data`,
|
Request: `sender data`,
|
||||||
Data: data,
|
Data: data,
|
||||||
Timestamp: time.Now().Unix()
|
Timestamp: time.Now().Unix(),
|
||||||
}
|
}
|
||||||
return p
|
return p
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue