[lxc-devel] [lxd/master] test/suites/static/analysis: Fixes ineffassign usage due to upstream changes
tomponline on Github
lxc-bot at linuxcontainers.org
Mon Jan 4 16:55:50 UTC 2021
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 465 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20210104/7bb21aff/attachment.bin>
-------------- next part --------------
From ca4b23fa20e7a2219ccd191bb9419bf73584b5a3 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at 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.parrott at 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
More information about the lxc-devel
mailing list