From 81b4417e8cd2ad0d3c9d7151a77df09db8ac3876 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 15 Aug 2014 18:24:23 -0700 Subject: [PATCH] server: ignore errors looking up optional username. Change-Id: I457f604c60726beaf9d263c07fb0283035696fd2 --- pkg/server/root.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/server/root.go b/pkg/server/root.go index 61ab36d7e..04c1b59a9 100644 --- a/pkg/server/root.go +++ b/pkg/server/root.go @@ -71,10 +71,7 @@ func init() { } func newRootFromConfig(ld blobserver.Loader, conf jsonconfig.Obj) (h http.Handler, err error) { - username, err := getUserName() - if err != nil { - return - } + username, _ := getUserName() root := &RootHandler{ BlobRoot: conf.OptionalString("blobRoot", ""), SearchRoot: conf.OptionalString("searchRoot", ""),