Skip to content

Commit

Permalink
Update version in deprecation comments
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Boten <[email protected]>
  • Loading branch information
mwear and codeboten committed Oct 6, 2023
1 parent 9455b7f commit 5361925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion component/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Host interface {
//
// ReportFatalError should be called by the component anytime after Component.Start() ends and
// before Component.Shutdown() begins.
// Deprecated: [x.x.x] Use TelemetrySettings.ReportComponentStatus instead (with an event
// Deprecated: [0.87.0] Use TelemetrySettings.ReportComponentStatus instead (with an event
// component.StatusFatalError)
ReportFatalError(err error)

Expand Down
2 changes: 1 addition & 1 deletion service/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type serviceHost struct {
// ReportFatalError is used to report to the host that the receiver encountered
// a fatal error (i.e.: an error that the instance can't recover from) after
// its start function has already returned.
// Deprecated: [x.x.x] Replaced by servicetelemetry.Settings.ReportComponentStatus
// Deprecated: [0.87.0] Replaced by servicetelemetry.Settings.ReportComponentStatus
func (host *serviceHost) ReportFatalError(err error) {
host.asyncErrorChannel <- err
}
Expand Down

0 comments on commit 5361925

Please sign in to comment.