-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] fix code to support unmarshaling with embedded struct support (…
…#31406) **Description:** Code changes required to make open-telemetry/opentelemetry-collector#9635 pass.
- Loading branch information
Showing
6 changed files
with
4 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,6 @@ func TestConfig(t *testing.T) { | |
return cfg | ||
}(), | ||
}, | ||
{ | ||
Name: "no_nested", | ||
ExpectErr: true, | ||
}, | ||
}, | ||
}.Run(t) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,10 +46,6 @@ func TestUnmarshal(t *testing.T) { | |
return cfg | ||
}(), | ||
}, | ||
{ | ||
Name: "no_nested", | ||
ExpectErr: true, | ||
}, | ||
}, | ||
}.Run(t) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,10 +49,6 @@ func TestUnmarshal(t *testing.T) { | |
return cfg | ||
}(), | ||
}, | ||
{ | ||
Name: "no_nested", | ||
ExpectErr: true, | ||
}, | ||
}, | ||
}.Run(t) | ||
} |