Skip to content

Commit

Permalink
Fix typo and add schema to test schema return value
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekcldr committed Dec 18, 2024
1 parent 15119de commit 209a99f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resources/dw/virtualwarehouse/impala/model_impala_vw.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type resourceModel struct {
}

func (p *resourceModel) setFromDescribeVwResponse(resp *models.DescribeVwResponse) {
p.ID = types.StringValue(resp.Vw.DbcID)
p.ID = types.StringValue(resp.Vw.ID)
p.DatabaseCatalogID = types.StringValue(resp.Vw.DbcID)
p.Name = types.StringValue(resp.Vw.Name)
p.Status = types.StringValue(resp.Vw.Status)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import (
)

var testImpalaSchema = schema.Schema{
MarkdownDescription: "A Impala Virtual Warehouse is service which is able to run low-latency SQL queries.",
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Computed: true,
Expand Down

0 comments on commit 209a99f

Please sign in to comment.