Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez committed Jul 31, 2024
1 parent 47ec2ba commit c274c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/dockerCompose.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,13 @@ func (h *Node) ListDockerComposeImages(composeFile string, timeout time.Duration
Name string `json:"ContainerName"`
Repository string `json:"Repository"`
Tag string `json:"Tag"`
Size string `json:"Size"`
Size uint `json:"Size"`
}
var images []dockerImages
if err := json.Unmarshal(output, &images); err != nil {
return nil, err
}
var imageMap map[string]string
imageMap := make(map[string]string)
for _, image := range images {
imageMap[image.Repository] = image.Tag
}
Expand Down

0 comments on commit c274c28

Please sign in to comment.