Skip to content

Commit

Permalink
log enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Jan 16, 2025
1 parent e54ab40 commit e4d337d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func dockerRun(cfg *container.Config, hostcfg *container.HostConfig, sess ssh.Se
// Variant: "minimal",
}
if imageExistsLocally(ctx, cImage, docker) != true {
sess.Write([]byte("Fetching Image from repository ..\n"))
sess.Write([]byte("Image [" + cImage + "] not found, attempting to fetch from repository ..\n"))
reader, pullerr := docker.ImagePull(ctx, cImage, image.PullOptions{})
if pullerr != nil {
sess.Write([]byte("Unable to pull requested image [" + cImage + "]: [" + string(pullerr.Error()) + "]\n"))
Expand Down

0 comments on commit e4d337d

Please sign in to comment.