concourse / concourse

Simplify slice expression to sliced value itself CRT-A0016
Anti-pattern
Major
5 months ago4 years old
could simplify event.Tags[:] to event.Tags
269				"worker":    event.WorkerName,
270				"platform":  event.Platform,
271				"team_name": event.TeamName,
272				"tags":      strings.Join(event.Tags[:], "/"),273			},
274		},
275	)
could simplify event.Tags[:] to event.Tags
227				"worker":    event.WorkerName,
228				"platform":  event.Platform,
229				"team_name": event.TeamName,
230				"tags":      strings.Join(event.Tags[:], "/"),231			},
232		},
233	)