metric status: fix misspelled method call

reported in:
https://forum.proxmox.com/threads/typo-in-influxdb-pm.85017/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-02-27 16:11:08 +01:00
parent face18ee72
commit c2162150f1

View File

@ -340,7 +340,7 @@ sub on_add_hook {
if (defined($token)) {
set_credentials($id, $token);
} else {
delete_credenetials($id);
delete_credentials($id);
}
return undef;
@ -354,7 +354,7 @@ sub on_update_hook {
if (defined($token)) {
set_credentials($id, $token);
} else {
delete_credenetials($id);
delete_credentials($id);
}
return undef;