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

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) ===
Caused by https://github.com/gordonklaus/ineffassign/commit/664217a59c00a74b4491898ca757d3f711fff321

Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
From ca4b23fa20e7a2219ccd191bb9419bf73584b5a3 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parr...@canonical.com>
Date: Mon, 4 Jan 2021 16:54:44 +0000
Subject: [PATCH] test/suites/static/analysis: Fixes ineffassign usage due to
 upstream changes

Caused by 
https://github.com/gordonklaus/ineffassign/commit/664217a59c00a74b4491898ca757d3f711fff321

Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
---
 test/suites/static_analysis.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/suites/static_analysis.sh b/test/suites/static_analysis.sh
index 3fd192bd1c..699a2e6d13 100644
--- a/test/suites/static_analysis.sh
+++ b/test/suites/static_analysis.sh
@@ -161,7 +161,7 @@ test_static_analysis() {
 
     ## ineffassign
     if which ineffassign >/dev/null 2>&1; then
-      ineffassign ./
+      ineffassign ./...
     fi
 
     # Skip the tests which require git
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to