Skip to content

Commit

Permalink
feat(dps-dev): Add missing registration result fields (#1313)
Browse files Browse the repository at this point in the history
The service has sent these fields for a while, but we never exposed them to users for some reason. This brings our registration result class up to par with what the service sends to the SDK

Also add a small bug fix to a multiplexing client test
  • Loading branch information
timtay-microsoft committed Aug 27, 2021
1 parent 7f0f330 commit c08c185
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private void executeStateMachineForStatus(RegistrationOperationStatusParser regi
registrationInfo.setSubstatus(ProvisioningDeviceClientSubstatus.fromString(registrationStatus.getSubstatus()));
registrationInfo.setCreatedDateTimeUtc(registrationStatus.getCreatedDateTimeUtc());
registrationInfo.setLastUpdatesDateTimeUtc(registrationStatus.getLastUpdatesDateTimeUtc());
registrationInfo.setETag(registrationStatus.getETag());
registrationInfo.setETag(registrationStatus.getEtag());

if (this.securityProvider instanceof SecurityProviderTpm)
{
Expand Down

0 comments on commit c08c185

Please sign in to comment.