Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang committed May 11, 2020
1 parent 65817b4 commit f09b891
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -909,7 +909,7 @@ func resourceWindowsVirtualMachineUpdate(d *schema.ResourceData, meta interface{

future, err := disksClient.Update(ctx, id.ResourceGroup, diskName, update)
if err != nil {
return fmt.Errorf("Error updating encryption settings of OS Disk %q for Windows Virtual Machine %q (Resource Group %q): %+v", diskName, id.Name, id.ResourceGroup)
return fmt.Errorf("Error updating encryption settings of OS Disk %q for Windows Virtual Machine %q (Resource Group %q): %+v", diskName, id.Name, id.ResourceGroup, err)
}

if err := future.WaitForCompletionRef(ctx, client.Client); err != nil {
Expand Down

0 comments on commit f09b891

Please sign in to comment.