summaryrefslogtreecommitdiff
path: root/pkg/systemd/dbus.go
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-03-21 13:44:09 +0100
committerValentin Rothberg <vrothberg@redhat.com>2022-03-22 13:04:34 +0100
commitbb6b69b4abe86601a8438a6708263174879b5c51 (patch)
tree35a34e879c7129ceaac8bac80bdbe7fa9faea631 /pkg/systemd/dbus.go
parent070e401499c12d4bdc6e39eaa2498aeda9e96c82 (diff)
downloadpodman-bb6b69b4abe86601a8438a6708263174879b5c51.tar.gz
podman-bb6b69b4abe86601a8438a6708263174879b5c51.tar.bz2
podman-bb6b69b4abe86601a8438a6708263174879b5c51.zip
linter: enable wastedassign
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'pkg/systemd/dbus.go')
-rw-r--r--pkg/systemd/dbus.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/systemd/dbus.go b/pkg/systemd/dbus.go
index 1b1bc8be9..44feb8308 100644
--- a/pkg/systemd/dbus.go
+++ b/pkg/systemd/dbus.go
@@ -24,7 +24,6 @@ func IsSystemdSessionValid(uid int) bool {
if rootless.IsRootless() {
conn, err = GetLogindConnection(rootless.GetRootlessUID())
- object = conn.Object(dbusDest, godbus.ObjectPath(dbusPath))
if err != nil {
//unable to fetch systemd object for logind
logrus.Debugf("systemd-logind: %s", err)