Skip to content

Commit

Permalink
Update orbit/pkg/update/notifications.go
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
  • Loading branch information
marcosd4h and mna authored Oct 16, 2023
1 parent c6accef commit 6694b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbit/pkg/update/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ func (w *windowsMDMBitlockerConfigFetcher) attemptBitlockerEncryption(notifs fle
}

errServerUpdate := w.EncryptionResult.SetOrUpdateDiskEncryptionKey(payload)
if err != nil {
if errServerUpdate != nil {
log.Error().Err(errServerUpdate).Msg("failed to send encryption result to Fleet Server")
return
}
Expand Down

0 comments on commit 6694b8c

Please sign in to comment.