Skip to content

Commit

Permalink
[pdata] Update deprecation instructions (#6206)
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi authored Sep 29, 2022
1 parent 8060037 commit b73cd13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pdata/pcommon/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,32 +331,32 @@ func (v Value) StringVal() string {
return v.Str()
}

// Deprecated: [0.61.0] Use GetInt instead.
// Deprecated: [0.61.0] Use Int instead.
func (v Value) IntVal() int64 {
return v.Int()
}

// Deprecated: [0.61.0] Use GetDouble instead.
// Deprecated: [0.61.0] Use Double instead.
func (v Value) DoubleVal() float64 {
return v.Double()
}

// Deprecated: [0.61.0] Use GetBool instead.
// Deprecated: [0.61.0] Use Bool instead.
func (v Value) BoolVal() bool {
return v.Bool()
}

// Deprecated: [0.61.0] Use GetMap instead.
// Deprecated: [0.61.0] Use Map instead.
func (v Value) MapVal() Map {
return v.Map()
}

// Deprecated: [0.61.0] Use GetSlice instead.
// Deprecated: [0.61.0] Use Slice instead.
func (v Value) SliceVal() Slice {
return v.Slice()
}

// Deprecated: [0.61.0] Use GetBytes instead.
// Deprecated: [0.61.0] Use Bytes instead.
func (v Value) BytesVal() ByteSlice {
return v.Bytes()
}
Expand Down

0 comments on commit b73cd13

Please sign in to comment.