Skip to content

Commit b73cd13

Browse files
authored
[pdata] Update deprecation instructions (open-telemetry#6206)
1 parent 8060037 commit b73cd13

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pdata/pcommon/common.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,32 +331,32 @@ func (v Value) StringVal() string {
331331
return v.Str()
332332
}
333333

334-
// Deprecated: [0.61.0] Use GetInt instead.
334+
// Deprecated: [0.61.0] Use Int instead.
335335
func (v Value) IntVal() int64 {
336336
return v.Int()
337337
}
338338

339-
// Deprecated: [0.61.0] Use GetDouble instead.
339+
// Deprecated: [0.61.0] Use Double instead.
340340
func (v Value) DoubleVal() float64 {
341341
return v.Double()
342342
}
343343

344-
// Deprecated: [0.61.0] Use GetBool instead.
344+
// Deprecated: [0.61.0] Use Bool instead.
345345
func (v Value) BoolVal() bool {
346346
return v.Bool()
347347
}
348348

349-
// Deprecated: [0.61.0] Use GetMap instead.
349+
// Deprecated: [0.61.0] Use Map instead.
350350
func (v Value) MapVal() Map {
351351
return v.Map()
352352
}
353353

354-
// Deprecated: [0.61.0] Use GetSlice instead.
354+
// Deprecated: [0.61.0] Use Slice instead.
355355
func (v Value) SliceVal() Slice {
356356
return v.Slice()
357357
}
358358

359-
// Deprecated: [0.61.0] Use GetBytes instead.
359+
// Deprecated: [0.61.0] Use Bytes instead.
360360
func (v Value) BytesVal() ByteSlice {
361361
return v.Bytes()
362362
}

0 commit comments

Comments
 (0)