fix: typo's

This commit is contained in:
Justin Zandbergen 2024-02-23 11:04:31 +01:00 committed by Daniel Wozniak
parent 52d9886620
commit 4e72e2f0a5

View file

@ -377,7 +377,7 @@ class ReqServerChannel:
# if we clean it, it will not match. Only clean the key if it
# is a new style key.
if keyFromDisk[-1:] != "\n":
keyFromDisk = salt.crypt.clean(orgkey)
keyFromDisk = salt.crypt.clean_key(keyFromDisk)
if keyFromDisk != load["pub"]:
log.error(