Fix undefined and unused variables

Forgot to save the latest version...
pull/1544/head
Herman Slatman 8 months ago
parent b6c95d7be2
commit 6d2d21e989
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

@ -336,7 +336,7 @@ func PKIOperation(ctx context.Context, req request) (Response, error) {
// default to ERROR_INTERNAL_ERROR: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d
errorCode := 0x0000054F
errorDescription := err.Error()
if notifyErr := auth.NotifyFailure(ctx, csr, transactionID); notifyErr != nil {
if notifyErr := auth.NotifyFailure(ctx, csr, transactionID, errorCode, errorDescription); notifyErr != nil {
// TODO(hs): ignore this error case? It's not critical if the notification fails; but logging it might be good
_ = notifyErr
}

Loading…
Cancel
Save