Skip to content

Commit

Permalink
Improved message output
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav-gwit committed Mar 4, 2023
1 parent 19fcacb commit 9195713
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ func listAvailableImages() error {
if err != nil {
return err
}
emojlog.PrintLogMessage("Images available on the public server: "+hostConfig.ImageServer, emojlog.Debug)

fmt.Println(" 🔗 OS Images available on the public server: " + hostConfig.ImageServer)

// Parse website response
resp, err := http.Get(hostConfig.ImageServer)
if err != nil {
Expand All @@ -284,7 +286,7 @@ func listAvailableImages() error {
// var imageList []string
for _, v := range vmImageMap["vm_images"] {
for key := range v {
fmt.Println(key)
fmt.Println(" " + key)
}
}

Expand Down

0 comments on commit 9195713

Please sign in to comment.