Browse Source

more certificate cleanup

Matthew R. Kasun 3 years ago
parent
commit
a8b1d48e02
2 changed files with 2 additions and 2 deletions
  1. 1 1
      netclient/functions/daemon.go
  2. 1 1
      netclient/functions/mqpublish.go

+ 1 - 1
netclient/functions/daemon.go

@@ -69,7 +69,7 @@ func Daemon() error {
 	wg := sync.WaitGroup{}
 	ctx, cancel := context.WithCancel(context.Background())
 	wg.Add(1)
-	go Checkin(ctx, &wg, serverSet)
+	go Checkin(ctx, &wg)
 	quit := make(chan os.Signal, 1)
 	signal.Notify(quit, syscall.SIGTERM, os.Interrupt)
 	<-quit

+ 1 - 1
netclient/functions/mqpublish.go

@@ -18,7 +18,7 @@ import (
 
 // Checkin  -- go routine that checks for public or local ip changes, publishes changes
 //   if there are no updates, simply "pings" the server as a checkin
-func Checkin(ctx context.Context, wg *sync.WaitGroup, currentComms map[string]struct{}) {
+func Checkin(ctx context.Context, wg *sync.WaitGroup) {
 	defer wg.Done()
 	for {
 		select {