Skip to content

Commit

Permalink
fix panic in acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy.McCullough committed Nov 15, 2021
1 parent f7f4db3 commit defb851
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,6 @@ func resourceVirtualDesktopHostPoolRead(d *pluginsdk.ResourceData, meta interfac
if err := d.Set("registration_info", flattenVirtualDesktopHostPoolRegistrationInfo(props.RegistrationInfo)); err != nil {
return fmt.Errorf("setting `registration_info`: %+v", err)
}
if regInfo := props.RegistrationInfo; regInfo != nil {
d.Set("registration_token", regInfo.Token)
}
}

return tags.FlattenAndSet(d, resp.Tags)
Expand Down

0 comments on commit defb851

Please sign in to comment.