Do not print unnecessary Buildah details during commit

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #706
Approved by: rhatdan
This commit is contained in:
Matthew Heon
2018-05-01 13:01:33 -04:00
committed by Atomic Bot
parent 64dc8039e9
commit 25dc483f00

View File

@ -2,7 +2,6 @@ package libpod
import (
"context"
"fmt"
"strings"
is "github.com/containers/image/storage"
@ -143,6 +142,5 @@ func (c *Container) Commit(ctx context.Context, destImage string, options Contai
if err = importBuilder.Commit(ctx, imageRef, commitOptions); err != nil {
return nil, err
}
fmt.Println(importBuilder.Comment())
return c.runtime.imageRuntime.NewFromLocal(imageRef.DockerReference().String())
}