Skip to content

Commit

Permalink
r/data_lake_analytics_account: fixing the linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Nov 12, 2021
1 parent 26c30b7 commit 98037e5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ func resourceArmDateLakeAnalyticsAccountRead(d *pluginsdk.ResourceData, meta int
}

if properties := model.Properties; properties != nil {
d.Set("tier", properties.CurrentTier)
tier := ""
if properties.CurrentTier != nil {
tier = string(*properties.CurrentTier)
}
d.Set("tier", tier)
d.Set("default_store_account_name", properties.DefaultDataLakeStoreAccount)
}

Expand Down

0 comments on commit 98037e5

Please sign in to comment.