fix: try fix null identity

chore: add more examples
This commit is contained in:
Marcel_Henselin 2026-02-17 18:16:10 +01:00
parent 6e895e6de8
commit 695c38d853
2 changed files with 4 additions and 23 deletions

View file

@ -352,13 +352,6 @@ func (r *databaseResource) Read(ctx context.Context, req resource.ReadRequest, r
return
}
// Read identity data
var identityData DatabaseResourceIdentityModel
resp.Diagnostics.Append(req.Identity.Get(ctx, &identityData)...)
if resp.Diagnostics.HasError() {
return
}
ctx = core.InitProviderContext(ctx)
projectId := model.ProjectId.ValueString()