Remove unused debug logging

This commit is contained in:
Alexander Zobnin
2021-08-10 14:14:28 +03:00
parent 2a6642811e
commit abe45790f3

View File

@@ -93,8 +93,6 @@ func (ds *Zabbix) GetItems(ctx context.Context, groupFilter string, hostFilter s
apps, err := ds.GetApps(ctx, groupFilter, hostFilter, appFilter) apps, err := ds.GetApps(ctx, groupFilter, hostFilter, appFilter)
// Apps not supported in Zabbix 5.4 and higher // Apps not supported in Zabbix 5.4 and higher
isZabbix54orHigher := isAppMethodNotFoundError(err) isZabbix54orHigher := isAppMethodNotFoundError(err)
ds.logger.Debug("isZabbix54orHigher", "value", isZabbix54orHigher)
ds.logger.Debug("apps", "apps", apps)
if isZabbix54orHigher { if isZabbix54orHigher {
apps = []Application{} apps = []Application{}
} else if err != nil { } else if err != nil {