Skip to content

Commit

Permalink
Addressing code review findings
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosd4h committed Oct 16, 2023
1 parent c0426ff commit c6accef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orbit/pkg/update/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,9 @@ func (w *windowsMDMBitlockerConfigFetcher) attemptBitlockerEncryption(notifs fle
ClientError: bitlockerError,
}

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

Expand Down

0 comments on commit c6accef

Please sign in to comment.