diff options
author | Stefan Weil <sw@weilnetz.de> | 2021-10-24 22:23:13 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-11-12 11:08:25 -0500 |
commit | 34739f44131e9c493c4021d119c368c82d080c84 (patch) | |
tree | a82e1cc011c13455196b26b04505a4e01a4eed90 /pkg | |
parent | fd010adfdcb6f578623b77281f2ae012bcd1ac85 (diff) | |
download | podman-34739f44131e9c493c4021d119c368c82d080c84.tar.gz podman-34739f44131e9c493c4021d119c368c82d080c84.tar.bz2 podman-34739f44131e9c493c4021d119c368c82d080c84.zip |
Replace 'an user' => 'a user'
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/cgroups/cgroups.go | 2 | ||||
-rw-r--r-- | pkg/systemd/dbus.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/cgroups/cgroups.go b/pkg/cgroups/cgroups.go index f1ef538e4..1debc020c 100644 --- a/pkg/cgroups/cgroups.go +++ b/pkg/cgroups/cgroups.go @@ -461,7 +461,7 @@ func (c *CgroupControl) CreateSystemdUnit(path string) error { return systemdCreate(path, conn) } -// GetUserConnection returns an user connection to D-BUS +// GetUserConnection returns a user connection to D-BUS func GetUserConnection(uid int) (*systemdDbus.Conn, error) { return systemdDbus.NewConnection(func() (*dbus.Conn, error) { return dbusAuthConnection(uid, dbus.SessionBusPrivate) diff --git a/pkg/systemd/dbus.go b/pkg/systemd/dbus.go index c49f537b6..04aaa117a 100644 --- a/pkg/systemd/dbus.go +++ b/pkg/systemd/dbus.go @@ -84,7 +84,7 @@ func IsSystemdSessionValid(uid int) bool { return true } -// GetDbusConnection returns an user connection to D-BUS +// GetDbusConnection returns a user connection to D-BUS func GetLogindConnection(uid int) (*godbus.Conn, error) { return dbusAuthConnectionLogind(uid) } |