Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1741 from jshachm/delete-code
Browse files Browse the repository at this point in the history
runtime : delete redundant code in CreateContainer
  • Loading branch information
caoruidong authored May 27, 2019
2 parents 360ffdc + bdae295 commit 43c2796
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/katautils/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,6 @@ func CreateContainer(ctx context.Context, vci vc.VC, sandbox vc.VCSandbox, ociSp
if err := AddContainerIDMapping(ctx, containerID, sandboxID); err != nil {
return vc.Process{}, err
}

kataUtilsLogger = kataUtilsLogger.WithField("sandbox", sandboxID)

if err := AddContainerIDMapping(ctx, containerID, sandboxID); err != nil {
return vc.Process{}, err
}
}

// Run pre-start OCI hooks.
Expand Down

0 comments on commit 43c2796

Please sign in to comment.