fix: fixed some tests
This commit is contained in:
parent
5b6576da1c
commit
ff9f47edc3
12 changed files with 941 additions and 418 deletions
|
|
@ -127,7 +127,6 @@ func (r *databaseDataSource) Schema(_ context.Context, _ datasource.SchemaReques
|
|||
// Read refreshes the Terraform state with the latest data.
|
||||
func (r *databaseDataSource) Read(
|
||||
ctx context.Context,
|
||||
// TODO - make it pointer
|
||||
req datasource.ReadRequest,
|
||||
resp *datasource.ReadResponse,
|
||||
) { // nolint:gocritic // function signature required by Terraform
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ type databaseResource struct {
|
|||
// Use the modifier to set the effective region in the current plan.
|
||||
func (r *databaseResource) ModifyPlan(
|
||||
ctx context.Context,
|
||||
// TODO - make it pointer
|
||||
req resource.ModifyPlanRequest,
|
||||
resp *resource.ModifyPlanResponse,
|
||||
) { // nolint:gocritic // function signature required by Terraform
|
||||
|
|
@ -201,7 +200,6 @@ func (r *databaseResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
// Create creates the resource and sets the initial Terraform state.
|
||||
func (r *databaseResource) Create(
|
||||
ctx context.Context,
|
||||
// TODO - make it pointer
|
||||
req resource.CreateRequest,
|
||||
resp *resource.CreateResponse,
|
||||
) { // nolint:gocritic // function signature required by Terraform
|
||||
|
|
@ -292,7 +290,6 @@ func (r *databaseResource) Create(
|
|||
// Read refreshes the Terraform state with the latest data.
|
||||
func (r *databaseResource) Read(
|
||||
ctx context.Context,
|
||||
// TODO - make it pointer
|
||||
req resource.ReadRequest,
|
||||
resp *resource.ReadResponse,
|
||||
) { // nolint:gocritic // function signature required by Terraform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue