mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Fix undefined and unused variables
Forgot to save the latest version...
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user