mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-02-28 13:59:12 -05:00
remove unneeded variable
This commit is contained in:
parent
85ee93aec3
commit
5c0962e12b
@ -20,7 +20,6 @@ start () {
|
|||||||
report () {
|
report () {
|
||||||
local metric=$1
|
local metric=$1
|
||||||
local value=$2
|
local value=$2
|
||||||
local points
|
|
||||||
local data="$metric,$__influxdb_hostname value=$value"
|
local data="$metric,$__influxdb_hostname value=$value"
|
||||||
curl -s -X POST $INFLUXDB_API_ENDPOINT --data-binary "$data"
|
curl -s -X POST $INFLUXDB_API_ENDPOINT --data-binary "$data"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user