Skip to content

Commit

Permalink
Fix misspells
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Jan 13, 2018
1 parent db213db commit 082f8d6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config_example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions database/influxdb/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func TestToInflux(t *testing.T) {
},
}

neigbour := &runtime.Node{
neighbour := &runtime.Node{
Nodeinfo: &data.NodeInfo{
NodeID: "foobar",
Network: data.Network{
Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions docs/docs_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down Expand Up @@ -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"
```
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion output/meshviewer/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion respond/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 082f8d6

Please sign in to comment.