1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-08-19 00:17:54 +00:00

clh: fix build

PR  changed createSandbox() interface but didn't get a chance
to match with cloud hypervisor change.

Fixes: 

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2019-11-19 01:02:04 -08:00
parent be6110d234
commit 510f0a6687

View File

@ -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 clh.ctx = ctx
span, _ := clh.trace("createSandbox") span, _ := clh.trace("createSandbox")