From f7a1f9c32161ddde6f462e3b8e2bcbfe96ff23b4 Mon Sep 17 00:00:00 2001 From: Wei Zhang Date: Thu, 20 Sep 2018 10:36:14 +0800 Subject: [PATCH] build: add restriction Golang >= 1.10 Fixes #148 Add build tag to restrict minimum golang version to 1.10, in case we run into Netns mix problem again and again. Signed-off-by: Wei Zhang --- cli/oci.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/oci.go b/cli/oci.go index 928ab3e6e7..c23768f6d4 100644 --- a/cli/oci.go +++ b/cli/oci.go @@ -3,6 +3,8 @@ // SPDX-License-Identifier: Apache-2.0 // +// +build go1.10 + package main import (