1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-07-15 01:04:25 +02:00

Drop SetAttribute from Span (#361)

fixes #302
This commit is contained in:
ferhat elmas
2019-12-03 06:58:55 +01:00
committed by Liz Fong-Jones
parent f25c84f35f
commit eb9fe13a77
16 changed files with 19 additions and 79 deletions

View File

@ -79,10 +79,6 @@ func (mockSpan) SetName(name string) {
func (mockSpan) SetError(v bool) {
}
// SetAttribute does nothing.
func (mockSpan) SetAttribute(attribute core.KeyValue) {
}
// SetAttributes does nothing.
func (mockSpan) SetAttributes(attributes ...core.KeyValue) {
}