The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/go-lxc/pull/78

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) ===
![image](https://cloud.githubusercontent.com/assets/8612618/25691752/958c0c9e-30bf-11e7-8143-8c08bc65faaf.png)

From 7173bc106a2a97a1b734332bcaefee8a3e788780 Mon Sep 17 00:00:00 2001
From: Dmitry Shihovtsev <[email protected]>
Date: Thu, 4 May 2017 11:47:16 +0600
Subject: [PATCH] Fixed undefined: go_lxc_config_item_is_supported

---
 lxc-binding.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxc-binding.go b/lxc-binding.go
index 986b9ef..71d6cd6 100644
--- a/lxc-binding.go
+++ b/lxc-binding.go
@@ -231,5 +231,5 @@ func VersionAtLeast(major int, minor int, micro int) bool {
 func IsSupportedConfigItem(key string) bool {
        configItem := C.CString(key)
        defer C.free(unsafe.Pointer(configItem))
-       return go_lxc_config_item_is_supported(configItem)
+       return bool(C.go_lxc_config_item_is_supported(configItem))
 }
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to