Skip to content

Commit 612bfb7

Browse files
committed
PR fixes
1 parent eb56228 commit 612bfb7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

generated/kbapi/transform_schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func (p *Path) SetEndpoint(method string, endpoint Map) {
167167
case "put":
168168
p.Put = endpoint
169169
case "patch":
170-
p.Put = endpoint
170+
p.Patch = endpoint
171171
case "delete":
172172
p.Delete = endpoint
173173
default:

internal/kibana/maintenance_window/schema.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ import (
1818

1919
func (r *MaintenanceWindowResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
2020
resp.Schema = schema.Schema{
21-
Description: "Manages Kibana data views",
21+
Description: "Manages Kibana maintenance windows",
2222
Attributes: map[string]schema.Attribute{
2323
"id": schema.StringAttribute{
2424
Computed: true,
25-
MarkdownDescription: "Generated ID for the data view.",
25+
MarkdownDescription: "Generated ID for the maintenance window.",
2626
PlanModifiers: []planmodifier.String{
2727
stringplanmodifier.UseStateForUnknown(),
2828
},

0 commit comments

Comments
 (0)