Skip to content

Commit

Permalink
fix missing log variables
Browse files Browse the repository at this point in the history
Signed-off-by: Jose R. Gonzalez <jose@flutes.dev>
  • Loading branch information
komish committed Dec 15, 2022
1 parent 8b2d705 commit f5852ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (c *CraneEngine) ExecuteChecks(ctx context.Context) error {
if err != nil {
return fmt.Errorf("failed to create temporary directory: %v", err)
}
logger.V(log.DBG).Info("temporary directory is ", tmpdir)
logger.V(log.DBG).Info("created temporary directory", "path", tmpdir)
defer func() {
if err := os.RemoveAll(tmpdir); err != nil {
logger.Error(err, "unable to clean up tmpdir", "tempDir", tmpdir)
Expand Down Expand Up @@ -155,7 +155,7 @@ func (c *CraneEngine) ExecuteChecks(ctx context.Context) error {
wg.Done()
}()

logger.V(log.DBG).Info("extracting container filesystem to ", containerFSPath)
logger.V(log.DBG).Info("extracting container filesystem", "path", containerFSPath)
if err := untar(ctx, containerFSPath, r); err != nil {
return fmt.Errorf("failed to extract tarball: %v", err)
}
Expand Down

0 comments on commit f5852ef

Please sign in to comment.