Skip to content

Commit

Permalink
PR feedback 3
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbloss committed Oct 15, 2024
1 parent 0f49d46 commit cd7daaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opslevel/resource_opslevel_service_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (r *ServiceRepositoryResource) Read(ctx context.Context, req resource.ReadR
break
}
}
if serviceRepository == nil {
if serviceRepository == nil || serviceRepository.Id == "" {
resp.State.RemoveResource(ctx)
return
}
Expand Down

0 comments on commit cd7daaa

Please sign in to comment.