Skip to content

Commit e4d337d

Browse files
committed
log enhance
1 parent e54ab40 commit e4d337d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func dockerRun(cfg *container.Config, hostcfg *container.HostConfig, sess ssh.Se
143143
// Variant: "minimal",
144144
}
145145
if imageExistsLocally(ctx, cImage, docker) != true {
146-
sess.Write([]byte("Fetching Image from repository ..\n"))
146+
sess.Write([]byte("Image [" + cImage + "] not found, attempting to fetch from repository ..\n"))
147147
reader, pullerr := docker.ImagePull(ctx, cImage, image.PullOptions{})
148148
if pullerr != nil {
149149
sess.Write([]byte("Unable to pull requested image [" + cImage + "]: [" + string(pullerr.Error()) + "]\n"))

0 commit comments

Comments
 (0)