Add profiler flag (#336)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-04-25 18:04:07 +02:00
committed by GitHub
parent 4c6606d882
commit 0438ca485f
8 changed files with 50 additions and 8 deletions

View File

@@ -20,6 +20,7 @@ func (c *Client) listServiceImage() []model.Image {
c.logger.Error().Err(err).Msg("Cannot create Docker client")
return []model.Image{}
}
defer cli.Close()
svcs, err := cli.ServiceList(filters.NewArgs())
if err != nil {