Skip to content

Commit 52cb7fa

Browse files
authored
Update container.go (#13)
1 parent 3ea323a commit 52cb7fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

container/container.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ func GetVersionLabel(names []string) string {
8282
version := ""
8383
for _, name := range names {
8484
// Get the image details using the Docker API
85-
imageInspect, _, err := cli.ImageInspectWithRaw(context.Background(), "compose-"+name)
85+
imageInspect, _, err := cli.ImageInspectWithRaw(context.Background(), name)
8686
if err != nil {
87-
logger.Log.Errorf("Unable to retrieve Docker %s inspect data: %v", "compose-"+name, err)
87+
logger.Log.Errorf("Unable to retrieve Docker %s inspect data: %v", name, err)
8888
version += name + "(N/A) "
8989
continue
9090
}

0 commit comments

Comments
 (0)