fix: respond to all review comments

This commit is contained in:
Jose Diaz-Gonzalez
2017-04-26 18:49:19 -06:00
committed by Michael Hobbs
parent 1e8831d9a0
commit 72eb8a06f0
4 changed files with 8 additions and 6 deletions

View File

@@ -31,6 +31,7 @@ func main() {
if err != nil {
common.LogFail(err.Error())
}
defer f.Close()
ipBytes := []byte(ip)
_, err = f.Write(ipBytes)