fix: fix lintings
This commit is contained in:
parent
8d5c0560f1
commit
cdbfc56fd0
7 changed files with 52 additions and 130 deletions
|
|
@ -158,6 +158,18 @@ func (r *userResource) Create(ctx context.Context, req resource.CreateRequest, r
|
|||
ctx = tflog.SetField(ctx, "project_id", projectId)
|
||||
ctx = tflog.SetField(ctx, "region", region)
|
||||
|
||||
//payload, err := toCreatePayload(ctx, &data)
|
||||
//if err != nil {
|
||||
// core.LogAndAddError(
|
||||
// ctx,
|
||||
// &resp.Diagnostics,
|
||||
// "Error creating User",
|
||||
// fmt.Sprintf("Creating API payload: %v", err),
|
||||
// )
|
||||
// return
|
||||
//}
|
||||
//payload = payload
|
||||
|
||||
// TODO: Create API call logic
|
||||
/*
|
||||
// Generate API request body from model
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue