Skip to content

Commit 64a5c54

Browse files
committed
Kibana spaces data source
1 parent e847a30 commit 64a5c54

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/kibana/spaces/data_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func (d *dataSource) Configure(_ context.Context, req datasource.ConfigureReques
4343

4444
kibanaClient, err := client.GetKibanaClient()
4545
if err != nil {
46-
resp.Diagnostics.AddError("unable to get spaces client", err.Error())
46+
resp.Diagnostics.AddError("unable to get Kibana client", err.Error())
4747
return
4848
}
4949

internal/kibana/spaces/models.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ package spaces
22

33
import "github.com/hashicorp/terraform-plugin-framework/types"
44

5-
// spacesDataSourceModel maps the data source schema data.
5+
// dataSourceModel maps the data source schema data.
66
type dataSourceModel struct {
77
ID types.String `tfsdk:"id"`
88
Spaces []model `tfsdk:"spaces"`
99
}
1010

11-
// spacesModel maps coffees schema data.
11+
// model maps coffees schema data.
1212
type model struct {
1313
ID types.String `tfsdk:"id"`
1414
Name types.String `tfsdk:"name"`

0 commit comments

Comments
 (0)