Fix teeny tiny typos

Signed-off-by: Claudia Beresford <cberesford@pivotal.io>
This commit is contained in:
Claudia Beresford
2018-09-05 14:44:44 +01:00
parent 87a9d6e22a
commit 32e6aa742b
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ func CreateUnixSocket(path string) (net.Listener, error) {
return net.Listen("unix", path)
}
// GetLocalListener returns a listerner out of a unix socket.
// GetLocalListener returns a listener out of a unix socket.
func GetLocalListener(path string, uid, gid int) (net.Listener, error) {
// Ensure parent directory is created
if err := mkdirAs(filepath.Dir(path), uid, gid); err != nil {