Skip to content

Commit

Permalink
group future related lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris van Ommeren committed Jul 19, 2021
1 parent ba6bba4 commit 0bb6579
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -217,7 +217,6 @@ func resourceDataFactoryTriggerBlobEventCreateUpdate(d *pluginsdk.ResourceData,
if err != nil {
return fmt.Errorf("starting %s: %+v", id, err)
}

if err = future.WaitForCompletionRef(ctx, client.Client); err != nil {
return fmt.Errorf("waiting on start %s: %+v", id, err)
}
Expand Down Expand Up @@ -296,7 +295,6 @@ func resourceDataFactoryTriggerBlobEventDelete(d *pluginsdk.ResourceData, meta i
if err != nil {
return fmt.Errorf("stopping %s: %+v", id, err)
}

if err = future.WaitForCompletionRef(ctx, client.Client); err != nil {
return fmt.Errorf("waiting to stop %s: %+v", id, err)
}
Expand Down

0 comments on commit 0bb6579

Please sign in to comment.