From 510f0a668733b6e5390ad15a3a8fe252c0a4a100 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Tue, 19 Nov 2019 01:02:04 -0800 Subject: [PATCH] clh: fix build PR #2202 changed createSandbox() interface but didn't get a chance to match with cloud hypervisor change. Fixes: #2213 Signed-off-by: Peng Tao --- virtcontainers/clh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtcontainers/clh.go b/virtcontainers/clh.go index 2e05418c01..b47936d9bc 100644 --- a/virtcontainers/clh.go +++ b/virtcontainers/clh.go @@ -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")