[lxc-devel] [lxd/master] lxd/device/device/utils/infiniband/test: Changes test name for linter

tomponline on Github lxc-bot at linuxcontainers.org
Fri Jul 24 13:21:22 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200724/fcb25380/attachment.bin>
-------------- next part --------------
From 22f5cbffcf830ac3bbc6602654bf5dffd90a41f5 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Fri, 24 Jul 2020 14:20:40 +0100
Subject: [PATCH] lxd/device/device/utils/infiniband/test: Changes test name
 for linter

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
 lxd/device/device_utils_jnfiniband_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/device/device_utils_jnfiniband_test.go b/lxd/device/device_utils_jnfiniband_test.go
index 8d817e00b1..7f18c184e0 100644
--- a/lxd/device/device_utils_jnfiniband_test.go
+++ b/lxd/device/device_utils_jnfiniband_test.go
@@ -4,7 +4,7 @@ import (
 	"fmt"
 )
 
-func ExampleInfinibandValidMAC() {
+func Example_infinibandValidMAC() {
 	tests := []string{
 		"00:00:00:00:fe:80:00:00:00:00:00:00:02:00:5e:10:00:00:00:01", // valid long form
 		"a0:00:0f:c0:fe:80:00:00:00:00:00:00:4a:c8:f9:1b:aa:57:ef:19", // valid long form


More information about the lxc-devel mailing list