summaryrefslogtreecommitdiff
path: root/pkg/cgroups/cgroups.go
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2021-10-24 22:23:13 +0200
committerStefan Weil <sw@weilnetz.de>2021-10-24 22:27:39 +0200
commit22270fb84534fefa494ad3751ea42753dfc8f675 (patch)
tree40a6fe60d2eeb6945c905fbf39450ebaab089fc3 /pkg/cgroups/cgroups.go
parent54c630aa0a4dbbddb04ac07b223687aeaa6daefd (diff)
downloadpodman-22270fb84534fefa494ad3751ea42753dfc8f675.tar.gz
podman-22270fb84534fefa494ad3751ea42753dfc8f675.tar.bz2
podman-22270fb84534fefa494ad3751ea42753dfc8f675.zip
Replace 'an user' => 'a user'
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'pkg/cgroups/cgroups.go')
-rw-r--r--pkg/cgroups/cgroups.go2
1 files changed, 1 insertions, 1 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)