Skip to content

Maxime/revert go version bump#2136

Closed
hush-hush wants to merge 98 commits into
spf13:masterfrom
DataDog:maxime/revert-go-version-bump
Closed

Maxime/revert go version bump#2136
hush-hush wants to merge 98 commits into
spf13:masterfrom
DataDog:maxime/revert-go-version-bump

Conversation

@hush-hush

Copy link
Copy Markdown

No description provided.

hush-hush and others added 30 commits February 12, 2019 14:20
This allows users to set configuration that would have precedence on env
variable. This is very useful when some post-processing is done on the
configuration.
Adding a method to merge config in the override section
Fix AllSettings when some map keys contain the key delimiter
Merge changes from original repo
Try using `UnmarshalStrict`, if it fails, print the errors as a warning and try again with plain `Unmarshal`.

Errors look this way:
```
2019/03/26 15:11:33 warning reading config file: yaml: unmarshal errors:
  line 6: key "api_key" already set in map
```
…rebased

Warn when a yaml file has duplicated keys
This can be used to enforce a config schema
By creating a new Viper for each test instead of using the global one
Enable storing a set of known valid config keys
define custom install to make go modules work
pgimalac and others added 27 commits February 5, 2025 14:41
…-components

Update codeowners for Agent Shared Components
IsConfigured on an inner setting checks children's env vars
remove viper remote feature (and directory)
A section is an inner node. HasSection returns if a section is defined in the config, regardless of whether it is empty or not. HasSection will return false for leaf nodes with non-nil values.
HasSection method returns if a section exists
find function would ignore any nil value preventing  from working.
Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2
Function relying on allSettings would not always return the same data when empty yaml section where used.

Env vars like "a_b_c: 123" with Yaml like:
```
a:
  b:
```

Would return different result depending on the map order from allKeys.
…orpatch/go/0-1781556124

fix(deps): vuln gopkg.in/yaml.v2 (patch → v2.2.8)
We need to use 1.25 to be compatible OTLP agent
@hush-hush hush-hush closed this Jun 17, 2026
@CLAassistant

CLAassistant commented Jun 17, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 17 committers have signed the CLA.

✅ hush-hush
✅ albertvaka
✅ gbbr
❌ Matthew Hardwick
❌ olivielpeau
❌ xlucas
❌ platinummonkey
❌ pgimalac
❌ knusbaum
❌ mrhwick
❌ mx-psi
❌ sgnn7
❌ ganeshkumarsv
❌ paulcacheux
❌ adel121
❌ dustmop
❌ djmitche


Matthew Hardwick seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@hush-hush hush-hush deleted the maxime/revert-go-version-bump branch June 17, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.