diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-21 13:44:09 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-22 13:04:34 +0100 |
commit | bb6b69b4abe86601a8438a6708263174879b5c51 (patch) | |
tree | 35a34e879c7129ceaac8bac80bdbe7fa9faea631 /pkg/systemd/dbus.go | |
parent | 070e401499c12d4bdc6e39eaa2498aeda9e96c82 (diff) | |
download | podman-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.go | 1 |
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) |