Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1de717 commit 17aaa38Copy full SHA for 17aaa38
coderd/audit.go
@@ -226,6 +226,13 @@ func auditLogDescription(alog database.GetAuditLogsOffsetRow) string {
226
codersdk.ResourceType(alog.ResourceType).FriendlyString(),
227
)
228
229
+ // Strings for build updates follow the below format:
230
+ // "{user} started workspace build for workspace {target}"
231
+ // where target is a workspace instead of the workspace build
232
+ if alog.ResourceType == database.ResourceTypeWorkspaceBuild {
233
+ str += " for workspace"
234
+ }
235
+
236
// We don't display the name for git ssh keys. It's fairly long and doesn't
237
// make too much sense to display.
238
if alog.ResourceType != database.ResourceTypeGitSshKey {
0 commit comments