Skip to content

Commit 8923ccd

Browse files
thompson-tomoShipraJain01
authored andcommitted
[chore] Use rename deprecations for Enduser open-telemetry#2602 (open-telemetry#2604)
1 parent f2c2233 commit 8923ccd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/registry/attributes/enduser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ Describes deprecated enduser attributes.
3131

3232
| Attribute | Type | Description | Examples | Stability |
3333
|---|---|---|---|---|
34-
| <a id="enduser-role" href="#enduser-role">`enduser.role`</a> | string | Deprecated, use `user.roles` instead. | `admin` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Use `user.roles` attribute instead. |
34+
| <a id="enduser-role" href="#enduser-role">`enduser.role`</a> | string | Deprecated, use `user.roles` instead. | `admin` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `user.roles`. |
3535
| <a id="enduser-scope" href="#enduser-scope">`enduser.scope`</a> | string | Deprecated, no replacement at this time. | `read:message, write:files` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, no replacement at this time. |

model/enduser/deprecated/registry-deprecated.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ groups:
77
- id: enduser.role
88
type: string
99
deprecated:
10-
reason: uncategorized
11-
note: "Use `user.roles` attribute instead."
10+
reason: renamed
11+
renamed_to: user.roles
1212
stability: development
1313
brief: "Deprecated, use `user.roles` instead."
1414
examples: 'admin'

0 commit comments

Comments
 (0)