diff --git a/sdk/resource/resource.go b/sdk/resource/resource.go index 176ff1066688..858b5b153b4c 100644 --- a/sdk/resource/resource.go +++ b/sdk/resource/resource.go @@ -98,7 +98,7 @@ func (r *Resource) String() string { return r.attrs.Encoded(attribute.DefaultEncoder()) } -// MarshalLog is the marshaling function used by the logging system to represent this exporter. +// MarshalLog is the marshaling function used by the logging system to represent this resource. func (r *Resource) MarshalLog() interface{} { return struct { Attributes attribute.Set