fix: fix wrong order of params
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / CI run tests (pull_request) Failing after 23m48s
CI Workflow / CI run build and linting (pull_request) Successful in 24m11s
CI Workflow / Code coverage report (pull_request) Successful in 5s
CI Workflow / Test readiness for publishing provider (pull_request) Successful in 34m5s
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / CI run tests (pull_request) Failing after 23m48s
CI Workflow / CI run build and linting (pull_request) Successful in 24m11s
CI Workflow / Code coverage report (pull_request) Successful in 5s
CI Workflow / Test readiness for publishing provider (pull_request) Successful in 34m5s
This commit is contained in:
parent
e01ae1a920
commit
a42b1d6b31
3 changed files with 13 additions and 8 deletions
|
|
@ -290,7 +290,7 @@ func (r *databaseResource) Read(
|
|||
|
||||
ctx = core.InitProviderContext(ctx)
|
||||
|
||||
projectId, instanceId, region, databaseId, errExt := r.extractIdentityData(model, identityData)
|
||||
projectId, region, instanceId, databaseId, errExt := r.extractIdentityData(model, identityData)
|
||||
if errExt != nil {
|
||||
core.LogAndAddError(
|
||||
ctx,
|
||||
|
|
@ -376,7 +376,7 @@ func (r *databaseResource) Update(
|
|||
|
||||
ctx = core.InitProviderContext(ctx)
|
||||
|
||||
projectId, instanceId, region, databaseId64, errExt := r.extractIdentityData(model, identityData)
|
||||
projectId, region, instanceId, databaseId64, errExt := r.extractIdentityData(model, identityData)
|
||||
if errExt != nil {
|
||||
core.LogAndAddError(
|
||||
ctx,
|
||||
|
|
@ -502,7 +502,7 @@ func (r *databaseResource) Delete(
|
|||
|
||||
ctx = core.InitProviderContext(ctx)
|
||||
|
||||
projectId, instanceId, region, databaseId64, errExt := r.extractIdentityData(model, identityData)
|
||||
projectId, region, instanceId, databaseId64, errExt := r.extractIdentityData(model, identityData)
|
||||
if errExt != nil {
|
||||
core.LogAndAddError(
|
||||
ctx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue