Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5246f8d

Browse files
authored
docs: fix process-logging.md to replace deprecated items (#14842)
Updated datasource to use data.coder_workspace_owners for user labels to avoid deprecation warning messages.
1 parent e6cd300 commit 5246f8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/templates/process-logging.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ would like to add workspace process logging to, follow these steps:
191191
"--init-address", "127.0.0.1:56123",
192192
"--label", "workspace_id=${data.coder_workspace.me.id}",
193193
"--label", "workspace_name=${data.coder_workspace.me.name}",
194-
"--label", "user_id=${data.coder_workspace.me.owner_id}",
195-
"--label", "username=${data.coder_workspace.me.owner}",
196-
"--label", "user_email=${data.coder_workspace.me.owner_email}",
194+
"--label", "user_id=${data.coder_workspace_owner.me.id}",
195+
"--label", "username=${data.coder_workspace_owner.me.name}",
196+
"--label", "user_email=${data.coder_workspace_owner.me.email}",
197197
]
198198
security_context {
199199
// exectrace must be started as root so it can attach probes into the

0 commit comments

Comments
 (0)