Resolve host for NetAddressFromString(). Test fix.

This commit is contained in:
Jae Kwon
2015-04-23 14:56:19 -07:00
parent f1703249ff
commit fcc26d7355
6 changed files with 39 additions and 19 deletions

View File

@ -86,6 +86,7 @@ func main() {
if err != nil {
panic(Fmt("Error creating barak rootDir: %v", err))
}
barak.registries = options.Registries
// Write pid to file.
err = AtomicWriteFile(barak.rootDir+"/pidfile", []byte(Fmt("%v", barak.pid)))