Remove deprecated ProfilesDictionary method (#13858)
This method has been deprecated for 2 releases already.
This commit is contained in:
parent
f423e2057b
commit
1612bcb5c2
|
|
@ -0,0 +1,25 @@
|
|||
# Use this changelog template to create an entry for release notes.
|
||||
|
||||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
|
||||
change_type: breaking
|
||||
|
||||
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
|
||||
component: pdata/pprofile
|
||||
|
||||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
|
||||
note: Remove deprecated ProfilesDictionary method
|
||||
|
||||
# One or more tracking issues or pull requests related to the change
|
||||
issues: [13858]
|
||||
|
||||
# (Optional) One or more lines of additional information to render under the primary note.
|
||||
# These lines will be padded with 2 spaces and then inserted directly into the document.
|
||||
# Use pipe (|) for multiline entries.
|
||||
subtext:
|
||||
|
||||
# Optional: The change log or logs in which this entry should be included.
|
||||
# e.g. '[user]' or '[user, api]'
|
||||
# Include 'user' if the change is relevant to end users.
|
||||
# Include 'api' if there is a change to a library API.
|
||||
# Default: '[user]'
|
||||
change_logs: [api]
|
||||
|
|
@ -3,11 +3,6 @@
|
|||
|
||||
package pprofile // import "go.opentelemetry.io/collector/pdata/pprofile"
|
||||
|
||||
// Deprecated: [v0.133.0] use Dictionary().
|
||||
func (ms Profiles) ProfilesDictionary() ProfilesDictionary {
|
||||
return ms.Dictionary()
|
||||
}
|
||||
|
||||
// MarkReadOnly marks the ResourceProfiles as shared so that no further modifications can be done on it.
|
||||
func (ms Profiles) MarkReadOnly() {
|
||||
ms.getState().MarkReadOnly()
|
||||
|
|
|
|||
Loading…
Reference in New Issue