Skip to content

Commit dd4096b

Browse files
authored
Add version to the deprecated message (#5243)
* Add version to the deprecated message Signed-off-by: Bogdan Drutu <[email protected]> * Update mapprovider.go
1 parent 427f7dd commit dd4096b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/mapprovider.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ type ChangeEvent struct {
8181

8282
// Retrieved holds the result of a call to the Retrieve method of a Provider object.
8383
type Retrieved struct {
84-
// Deprecated: Use NewRetrievedFromMap to initialize, and Retrieved.MergeTo to access.
84+
// Deprecated: [v0.50.0] Use NewRetrievedFromMap to initialize, and Retrieved.AsMap to access.
8585
*Map
86-
// Deprecated: Use NewRetrievedFromMap to initialize, and Retrieved.Close to access.
86+
// Deprecated: [v0.50.0] Use NewRetrievedFromMap to initialize, and Retrieved.Close to access.
8787
CloseFunc
8888
}
8989

0 commit comments

Comments
 (0)