Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: Add MoveResourceState capability to mux translations #252

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/tfprotov5tov6/tfprotov5tov6.go
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ func ServerCapabilities(in *tfprotov5.ServerCapabilities) *tfprotov6.ServerCapab

return &tfprotov6.ServerCapabilities{
GetProviderSchemaOptional: in.GetProviderSchemaOptional,
MoveResourceState: in.MoveResourceState,
PlanDestroy: in.PlanDestroy,
}
}
Expand Down
1 change: 1 addition & 0 deletions internal/tfprotov6tov5/tfprotov6tov5.go
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ func ServerCapabilities(in *tfprotov6.ServerCapabilities) *tfprotov5.ServerCapab

return &tfprotov5.ServerCapabilities{
GetProviderSchemaOptional: in.GetProviderSchemaOptional,
MoveResourceState: in.MoveResourceState,
PlanDestroy: in.PlanDestroy,
}
}
Expand Down
1 change: 1 addition & 0 deletions tf5muxserver/mux_server_GetMetadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ func TestMuxServerGetMetadata(t *testing.T) {
},
ServerCapabilities: &tfprotov5.ServerCapabilities{
GetProviderSchemaOptional: true,
MoveResourceState: true,
PlanDestroy: true,
},
},
Expand Down
1 change: 1 addition & 0 deletions tf5muxserver/mux_server_GetProviderSchema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ func TestMuxServerGetProviderSchema(t *testing.T) {
},
ServerCapabilities: &tfprotov5.ServerCapabilities{
GetProviderSchemaOptional: true,
MoveResourceState: true,
PlanDestroy: true,
},
},
Expand Down
1 change: 1 addition & 0 deletions tf6muxserver/mux_server_GetMetadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ func TestMuxServerGetMetadata(t *testing.T) {
},
ServerCapabilities: &tfprotov6.ServerCapabilities{
GetProviderSchemaOptional: true,
MoveResourceState: true,
PlanDestroy: true,
},
},
Expand Down