Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEriks Sneiders <eriks.sneiders@zabbix.com>2022-03-16 11:59:21 +0300
committerEriks Sneiders <eriks.sneiders@zabbix.com>2022-03-16 12:08:15 +0300
commitb431a31b3be014d39c36a91bc8156cee8cfba85f (patch)
tree57ad4b595d2089fb6014c173ac6851d63b9a9344 /src/go/plugins/mongodb
parentf4eb947966bee98542052bf5d8199f37e01a93a9 (diff)
...G...... [ZBX-20539] fixed TLS parameters for mysql and postgressql in Zabbix agent 2
* commit 'b65551c00542d9e93779bb2c48f8664c5fdf074a': ...G...... [ZBX-20539] removed redundant code ...G...... [ZBX-20539] code clean up .......... [ZBX-20539] added change log ...G...... [ZBX-20539] fixed TLS parameters for mysql and postgressql in Zabbix agent 2 (cherry picked from commit 1f6d248ad6f6f8d5937f346d274359b3cc29326c)
Diffstat (limited to 'src/go/plugins/mongodb')
-rw-r--r--src/go/plugins/mongodb/mongodb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/plugins/mongodb/mongodb.go b/src/go/plugins/mongodb/mongodb.go
index 2f9889c7fee..65b47804704 100644
--- a/src/go/plugins/mongodb/mongodb.go
+++ b/src/go/plugins/mongodb/mongodb.go
@@ -46,7 +46,7 @@ var impl Plugin
// Export implements the Exporter interface.
func (p *Plugin) Export(key string, rawParams []string, _ plugin.ContextProvider) (result interface{}, err error) {
- params, err := metrics[key].EvalParams(rawParams, p.options.Sessions)
+ params, _, err := metrics[key].EvalParams(rawParams, p.options.Sessions)
if err != nil {
return nil, err
}