Fix deprecated methods based on instructions

This commit is contained in:
Ivana Huckova
2024-09-04 14:17:02 +02:00
parent f9752bbfc9
commit 53030e2141
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ func main() {
pluginLogger.Debug("Starting Zabbix datasource")
err := backend.Serve(backend.ServeOpts{
err := backend.Manage(ZABBIX_PLUGIN_ID, backend.ServeOpts{
CallResourceHandler: httpResourceHandler,
QueryDataHandler: ds,
CheckHealthHandler: ds,