Skip to content

Commit

Permalink
Add version to the deprecated message (#5243)
Browse files Browse the repository at this point in the history
* Add version to the deprecated message

Signed-off-by: Bogdan Drutu <[email protected]>

* Update mapprovider.go
  • Loading branch information
bogdandrutu authored Apr 21, 2022
1 parent 427f7dd commit dd4096b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/mapprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ type ChangeEvent struct {

// Retrieved holds the result of a call to the Retrieve method of a Provider object.
type Retrieved struct {
// Deprecated: Use NewRetrievedFromMap to initialize, and Retrieved.MergeTo to access.
// Deprecated: [v0.50.0] Use NewRetrievedFromMap to initialize, and Retrieved.AsMap to access.
*Map
// Deprecated: Use NewRetrievedFromMap to initialize, and Retrieved.Close to access.
// Deprecated: [v0.50.0] Use NewRetrievedFromMap to initialize, and Retrieved.Close to access.
CloseFunc
}

Expand Down

0 comments on commit dd4096b

Please sign in to comment.