File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -270,19 +270,6 @@ func auditLogDescription(alog database.GetAuditLogsOffsetRow, additionalFields a
270
270
return str
271
271
}
272
272
273
- // Strings for starting/stopping workspace builds follow the below format:
274
- // "{user | 'Coder automatically'} started build #{build_number} for workspace {target}"
275
- // where target is a workspace (name) instead of a workspace build
276
- // passed in on the FE via AuditLog.AdditionalFields rather than derived in request.go:35
277
- if alog .ResourceType == database .ResourceTypeWorkspaceBuild && alog .Action != database .AuditActionDelete {
278
- if len (additionalFields .BuildNumber ) == 0 {
279
- str += " build for"
280
- } else {
281
- str += fmt .Sprintf (" build #%s for" ,
282
- additionalFields .BuildNumber )
283
- }
284
- }
285
-
286
273
// We don't display the name (target) for git ssh keys. It's fairly long and doesn't
287
274
// make too much sense to display.
288
275
if alog .ResourceType == database .ResourceTypeGitSshKey {
You can’t perform that action at this time.
0 commit comments