Skip to content

Commit

Permalink
Fix whitespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Rebhan committed Jun 28, 2021
1 parent 6258f6c commit 8f136d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions plugins/inputs/opcua/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ Plugin minimum tested version: 1.16
# password = ""
#
## Option to select the metric timestamp to use. Valid options are:
## "gather" -- uses the time of receiving the data in telegraf
## "server" -- uses the timestamp provided by the server
## "source" -- uses the timestamp provided by the source
## "gather" -- uses the time of receiving the data in telegraf
## "server" -- uses the timestamp provided by the server
## "source" -- uses the timestamp provided by the source
# timestamp = "gather"
#
## Node ID configuration
Expand Down
9 changes: 4 additions & 5 deletions plugins/inputs/opcua/opcua_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ const sampleConfig = `
## Password. Required for auth_method = "UserName"
# password = ""
#
## Option to select the metric timestamp to use. Valid options are:
## "gather" -- uses the time of receiving the data in telegraf
## "server" -- uses the timestamp provided by the server
## "source" -- uses the timestamp provided by the source
## Option to select the metric timestamp to use. Valid options are:
## "gather" -- uses the time of receiving the data in telegraf
## "server" -- uses the timestamp provided by the server
## "source" -- uses the timestamp provided by the source
# timestamp = "gather"
#
## Node ID configuration
Expand Down Expand Up @@ -564,7 +564,6 @@ func (o *OpcUA) Gather(acc telegraf.Accumulator) error {
default:
acc.AddFields(n.metricName, fields, tags)
}

}
return nil
}
Expand Down

0 comments on commit 8f136d9

Please sign in to comment.