Skip to content

Commit

Permalink
fix ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris van Ommeren committed Jul 19, 2021
1 parent b710743 commit ba6bba4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ func resourceDataFactoryTriggerBlobEventRead(d *pluginsdk.ResourceData, meta int
d.Set("name", id.Name)
d.Set("data_factory_id", parse.NewDataFactoryID(subscriptionId, id.ResourceGroup, id.FactoryName).ID())

d.Set("activated", blobEventsTrigger.RuntimeState == datafactory.TriggerRuntimeStateStarted)
d.Set("additional_properties", blobEventsTrigger.AdditionalProperties)
d.Set("description", blobEventsTrigger.Description)

Expand All @@ -266,7 +267,6 @@ func resourceDataFactoryTriggerBlobEventRead(d *pluginsdk.ResourceData, meta int
if err := d.Set("pipeline", flattenDataFactoryTriggerPipeline(blobEventsTrigger.Pipelines)); err != nil {
return fmt.Errorf("setting `pipeline`: %+v", err)
}
d.Set("activated", blobEventsTrigger.RuntimeState == datafactory.TriggerRuntimeStateStarted)

if props := blobEventsTrigger.BlobEventsTriggerTypeProperties; props != nil {
d.Set("storage_account_id", props.Scope)
Expand Down

0 comments on commit ba6bba4

Please sign in to comment.