Skip to content

Conversation

@merlindorin
Copy link
Contributor

Summary

The last versions of Datadog plugin do not work and generate the following message:

plugin not initialized. call Init() first

The newClient function return nil,nil if the configuration is good. It should return the client initialized.

I wrote also some extra tests to prevent regression.

@merlindorin merlindorin requested review from a team and mnorbury and removed request for a team August 4, 2023 11:02
@cq-bot cq-bot added the datadog label Aug 4, 2023
@disq disq changed the title fix: return a datadog client instance instead of nil fix: Return a datadog client instance instead of nil Aug 4, 2023
@disq
Copy link
Member

disq commented Aug 4, 2023

Oops. Thanks for the fix!

@candiduslynx candiduslynx added the automerge Automatically merge once required checks pass label Aug 4, 2023
@kodiakhq kodiakhq bot merged commit 9d6c354 into cloudquery:main Aug 4, 2023
@merlindorin merlindorin deleted the fix/datadog-client-factory branch August 4, 2023 11:56
kodiakhq bot pushed a commit that referenced this pull request Aug 4, 2023
🤖 I have created a release *beep* *boop*
---


## [3.1.3](plugins-source-datadog-v3.1.2...plugins-source-datadog-v3.1.3) (2023-08-04)


### Bug Fixes

* **deps:** Update github.com/apache/arrow/go/v13 digest to 112f949 ([#12659](#12659)) ([48d73a9](48d73a9))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to 3452eb0 ([#12595](#12595)) ([c1c0949](c1c0949))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.2.4 ([#12718](#12718)) ([f059a15](f059a15))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.2.5 ([#12731](#12731)) ([d267239](d267239))
* Return a datadog client instance instead of nil ([#12766](#12766)) ([9d6c354](9d6c354))
* **website:** Move deprecated top level spec options to plugin level ([#12686](#12686)) ([4108210](4108210))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants