Skip to content

Commit

Permalink
clh: fix build
Browse files Browse the repository at this point in the history
PR kata-containers#2202 changed createSandbox() interface but didn't get a chance
to match with cloud hypervisor change.

Fixes: kata-containers#2213

Signed-off-by: Peng Tao <[email protected]>
  • Loading branch information
bergwolf committed Nov 19, 2019
1 parent be6110d commit 510f0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtcontainers/clh.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ var clhDebugKernelParams = []Param{
//
//###########################################################

func (clh *cloudHypervisor) createSandbox(ctx context.Context, id string, networkNS NetworkNamespace, hypervisorConfig *HypervisorConfig, vcStore *store.VCStore) error {
func (clh *cloudHypervisor) createSandbox(ctx context.Context, id string, networkNS NetworkNamespace, hypervisorConfig *HypervisorConfig, vcStore *store.VCStore, stateful bool) error {
clh.ctx = ctx

span, _ := clh.trace("createSandbox")
Expand Down

0 comments on commit 510f0a6

Please sign in to comment.