The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6502
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From b60408549faba58e3909450f866bee22648867f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Mon, 25 Nov 2019 10:31:04 -0500 Subject: [PATCH] shared/generate: Insert build tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- shared/generate/file/write.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/generate/file/write.go b/shared/generate/file/write.go index 169b65b8cc..cfa9ba393d 100644 --- a/shared/generate/file/write.go +++ b/shared/generate/file/write.go @@ -10,7 +10,9 @@ import ( // Reset an auto-generated source file, writing a new empty file header. func Reset(path string, imports []string) error { - content := fmt.Sprintf(`package %s + content := fmt.Sprintf(`// +build linux,cgo,!agent + +package %s // The code below was generated by %s - DO NOT EDIT!
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel