File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type Conn struct {
3838 dispatch map [string ]func (dbus.Signal )
3939}
4040
41- // New() establishes a connection to the system bus and auths .
41+ // New() establishes a connection to the system bus and authenticates .
4242func New () (* Conn , error ) {
4343 c := new (Conn )
4444
@@ -71,7 +71,7 @@ func (c *Conn) initConnection() error {
7171
7272 c .sysobj = c .sysconn .Object ("org.freedesktop.systemd1" , dbus .ObjectPath ("/org/freedesktop/systemd1" ))
7373
74- // Setup the listener on jobs so that can get completions
74+ // Setup the listeners on jobs so that we can get completions
7575 c .sysconn .BusObject ().Call ("org.freedesktop.DBus.AddMatch" , 0 ,
7676 "type='signal', interface='org.freedesktop.systemd1.Manager', member='JobRemoved'" )
7777 c .initSubscription ()
Original file line number Diff line number Diff line change @@ -121,5 +121,4 @@ func TestGetUnitProperties(t *testing.T) {
121121 if names [0 ] != "system.slice" {
122122 t .Fatal ("unexpected wants for /" )
123123 }
124-
125124}
You can’t perform that action at this time.
0 commit comments