Skip to content

Commit

Permalink
chore: add happy log message when exporting image from containerd is …
Browse files Browse the repository at this point in the history
…sucessful
  • Loading branch information
carlmontanari committed Jun 17, 2024
1 parent 538033c commit 23bb254
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion launcher/image/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (m *containerdManager) Export(imageName, destination string) error {
if err != nil {
m.logger.Warnf(
"image re-pull failed, this can happen when containerd sets "+
"`discard_unpacked_layers` sets to true and we don't have appropriate pull"+
"`discard_unpacked_layers` sets to true or we don't have appropriate pull"+
" secrets for pulling the image. will continue attempting image pull through but"+
" this may fail, error: %s", err,
)
Expand All @@ -97,5 +97,7 @@ func (m *containerdManager) Export(imageName, destination string) error {
return err
}

m.logger.Debugf("image %q exported from containerd successfully...", imageName)

return nil
}

0 comments on commit 23bb254

Please sign in to comment.