From 14dfc4e3e1925fcc3d303100c44ef4c321427c6b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 6 Jun 2019 15:44:29 +0200 Subject: global: cleanup TODO comment spacing --- manager/install.go | 2 +- manager/ipc_server.go | 6 +++--- manager/service.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'manager') diff --git a/manager/install.go b/manager/install.go index 2eddbbbe..00ed1f40 100644 --- a/manager/install.go +++ b/manager/install.go @@ -43,7 +43,7 @@ func InstallManager() error { return nil } - //TODO: Do we want to bail if executable isn't being run from the right location? + // TODO: Do we want to bail if executable isn't being run from the right location? serviceName := "WireGuardManager" service, err := m.OpenService(serviceName) diff --git a/manager/ipc_server.go b/manager/ipc_server.go index a460a27b..18ff858b 100644 --- a/manager/ipc_server.go +++ b/manager/ipc_server.go @@ -205,8 +205,8 @@ func (s *ManagerService) Create(tunnelConfig conf.Config, tunnel *Tunnel) error } *tunnel = Tunnel{tunnelConfig.Name} return nil - //TODO: handle already existing situation - //TODO: handle already running and existing situation + // TODO: handle already existing situation + // TODO: handle already running and existing situation } func (s *ManagerService) Tunnels(_ uintptr, tunnels *[]Tunnel) error { @@ -219,7 +219,7 @@ func (s *ManagerService) Tunnels(_ uintptr, tunnels *[]Tunnel) error { (*tunnels)[i].Name = names[i] } return nil - //TODO: account for running ones that aren't in the configuration store somehow + // TODO: account for running ones that aren't in the configuration store somehow } func (s *ManagerService) Quit(stopTunnelsOnQuit bool, alreadyQuit *bool) error { diff --git a/manager/service.go b/manager/service.go index ba7208d8..d6c7d922 100644 --- a/manager/service.go +++ b/manager/service.go @@ -159,7 +159,7 @@ func (service *managerService) Execute(args []string, r <-chan svc.ChangeRequest first = false } - //TODO: we lock the OS thread so that these inheritable handles don't escape into other processes that + // TODO: we lock the OS thread so that these inheritable handles don't escape into other processes that // might be running in parallel Go routines. But the Go runtime is strange and who knows what's really // happening with these or what is inherited. We need to do some analysis to be certain of what's going on. runtime.LockOSThread() -- cgit v1.2.3-59-g8ed1b