mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-04 09:43:23 +02:00
parent
eed647d11f
commit
eba4b51b81
@ -40,6 +40,7 @@ func Register(name string, vtype Type, opts ...Option) Variable {
|
||||
func newVar(name string, vtype Type, opts ...Option) Variable {
|
||||
v := Variable{
|
||||
Name: name,
|
||||
Type: vtype,
|
||||
}
|
||||
for _, o := range opts {
|
||||
v = o(v)
|
||||
|
Loading…
Reference in New Issue
Block a user