Skip to content

Commit

Permalink
Update plugins/outputs/zabbix/autoregister.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
  • Loading branch information
adrianlzt and srebhan authored Sep 11, 2023
1 parent a122adb commit b3b4a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/zabbix/autoregister.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (z *Zabbix) autoregisterPush() {
z.Log.Debugf("Autoregistering host %q", hostname)

if err := z.sender.RegisterHost(hostname, z.Autoregister); err != nil {
z.Log.Errorf("Autoregistering host '%s': %v", hostname, err)
z.Log.Errorf("Autoregistering host %q: %v", hostname, err)
}

z.autoregisterLastSend[hostname] = time.Now()
Expand Down

0 comments on commit b3b4a96

Please sign in to comment.