Skip to content

Commit

Permalink
top: omit project name from (api.ContainerProcSummary).Name
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Menke <dom@digineo.de>
  • Loading branch information
dmke committed Dec 17, 2024
1 parent afb7784 commit 9b0c720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compose/top.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (s *composeService) Top(ctx context.Context, projectName string, services [
}
summary[i] = api.ContainerProcSummary{
ID: container.ID,
Name: getCanonicalContainerName(container),
Name: getContainerNameWithoutProject(container),
Processes: topContent.Processes,
Titles: topContent.Titles,
}
Expand Down

0 comments on commit 9b0c720

Please sign in to comment.