Fixing some cosmetic issues and a potential race condition.

This commit is contained in:
Renan DelValle 2020-05-26 19:55:33 -07:00
parent 59533338ef
commit 9f35981f03
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
3 changed files with 6 additions and 5 deletions

View file

@ -111,7 +111,7 @@ func main() {
if err != nil {
log.Fatalln(err)
}
monitor = &realis.Monitor{r}
monitor = &realis.Monitor{Client: r}
defer r.Close()
switch executor {