Skip to content

Commit

Permalink
removed unnecessary assignment to blank identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
10d9e committed Jun 8, 2023
1 parent cbe08a9 commit a7052b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func LoopForever() {
fmt.Printf("Entering infinite loop\n")

signal.Notify(OsSignal, syscall.SIGINT, syscall.SIGTERM, syscall.SIGUSR1)
_ = <-OsSignal
<-OsSignal

fmt.Printf("Exiting infinite loop received OsSignal\n")
}

0 comments on commit a7052b9

Please sign in to comment.