Fix misspells

This commit is contained in:
Julian Kornberger 2018-01-13 16:54:48 +01:00
parent db213db621
commit 082f8d6c7e
6 changed files with 9 additions and 9 deletions

View File

@ -139,7 +139,7 @@ password = ""
# Tags used by Yanic would override the tags from this config
# nodeid, hostname, owner, model, firmware_base, firmware_release,frequency11g and frequency11a are tags which are already used
#tagname1 = "tagvalue 1"
# some usefull e.g.:
# some useful e.g.:
#system = "productive"
#site = "ffhb"

View File

@ -88,7 +88,7 @@ func TestToInflux(t *testing.T) {
},
}
neigbour := &runtime.Node{
neighbour := &runtime.Node{
Nodeinfo: &data.NodeInfo{
NodeID: "foobar",
Network: data.Network{
@ -119,7 +119,7 @@ func TestToInflux(t *testing.T) {
Statistics: &data.Statistics{},
}
points := testPoints(node, neigbour, droppednode)
points := testPoints(node, neighbour, droppednode)
var fields map[string]interface{}
var tags map[string]string

View File

@ -364,7 +364,7 @@ graph_path = "/var/www/html/meshviewer/data/graph.json"
## [[nodes.output.nodelist]]
{% method %}
The nodelist output is a minimal output with current state of collected data.
Should be prefered to use it on the [ffapi](https://freifunk.net/api-generator/) for the [freifunk-karte.de](https://freifunk-karte.de)
Should be preferred to use it on the [ffapi](https://freifunk.net/api-generator/) for the [freifunk-karte.de](https://freifunk-karte.de)
{% sample lang="toml" %}
```toml
[[nodes.output.nodelist]]
@ -510,14 +510,14 @@ password = ""
### [database.connection.influxdb.tags]
{% method %}
You could set manuelle tags with inserting into a influxdb.
Usefull if you want to identify the yanic instance when you use multiple own on the same influxdb (e.g. multisites).
Useful if you want to identify the yanic instance when you use multiple own on the same influxdb (e.g. multisites).
Warning:
Tags used by Yanic would override the tags from this config (e.g. `nodeid`, `hostname`, `owner`, `model`, `firmware_base`, `firmware_release`, `frequency11g`, `frequency11a`).
{% sample lang="toml" %}
```toml
tagname1 = "tagvalue 1s"
# some usefull e.g.:
# some useful e.g.:
system = "productive"
site = "ffhb"
```

View File

@ -33,7 +33,7 @@ cp /opt/go/src/github.com/FreifunkBremen/yanic/contrib/init/linux-systemd/yanic.
systemctl daemon-reload
```
Before start, you should configurate yanic by the file `/etc/yanic.conf`:
Before start, you should configure yanic by the file `/etc/yanic.conf`:
```
systemctl start yanic

View File

@ -21,7 +21,7 @@ type Flags struct {
Gateway bool `json:"gateway"`
}
// Statistics a meshviewer spezifisch struct, diffrent from respondd
// Statistics a meshviewer spezifisch struct, different from respondd
type Statistics struct {
NodeID string `json:"node_id"`
Clients uint32 `json:"clients"`

View File

@ -183,7 +183,7 @@ func (coll *Collector) sendPacket(conn *net.UDPConn, destination net.IP) {
}
}
// send packets continously
// send packets continuously
func (coll *Collector) sender() {
ticker := time.NewTicker(coll.interval)
for {