aboutsummaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-06-13 13:36:20 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-06-14 15:28:45 +0200
commit1b62e4543845907ffba61086a79883751abca819 (patch)
tree72059e447976aa1fcc7935193cf405c174e34d82 /hack
parent9fac1b335f681400a029e9d8014f45fa5634ec40 (diff)
downloadpodman-1b62e4543845907ffba61086a79883751abca819.tar.gz
podman-1b62e4543845907ffba61086a79883751abca819.tar.bz2
podman-1b62e4543845907ffba61086a79883751abca819.zip
golangci-lint: add systemd build tag
Lint the systemd code and fix the reported problems. The remoteclient tag is no longer used so I just removed it. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'hack')
-rwxr-xr-xhack/golangci-lint.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/hack/golangci-lint.sh b/hack/golangci-lint.sh
index 8b80bd9c9..2eaf206d7 100755
--- a/hack/golangci-lint.sh
+++ b/hack/golangci-lint.sh
@@ -4,10 +4,9 @@
set -e
declare -A BUILD_TAGS
-# TODO: add systemd tag
BUILD_TAGS[default]="apparmor,seccomp,selinux,linter"
-BUILD_TAGS[abi]="${BUILD_TAGS[default]},!remoteclient"
-BUILD_TAGS[tunnel]="${BUILD_TAGS[default]},remote,remoteclient"
+BUILD_TAGS[abi]="${BUILD_TAGS[default]},systemd"
+BUILD_TAGS[tunnel]="${BUILD_TAGS[default]},remote"
declare -A SKIP_DIRS
SKIP_DIRS[abi]="pkg/machine/e2e"