camweb: make it build

Because of cloud logging changes from
9106ce8296

Change-Id: I0620c72c2ada3cf916750586194c18077c8f942a
This commit is contained in:
mpl 2015-10-12 19:36:29 +02:00
parent 9106ce8296
commit 07a2721f65
1 changed files with 1 additions and 3 deletions

View File

@ -49,8 +49,6 @@ import (
"google.golang.org/cloud/logging"
)
const usingCamlistoreCopy = logging.IsCamlistoreDevFork
const defaultAddr = ":31798" // default webserver address
var h1TitlePattern = regexp.MustCompile(`<h1>([^<]+)</h1>`)
@ -463,7 +461,7 @@ func main() {
}
}
ctx := cloud.NewContext(projID, hc)
logc, err := logging.NewClient(ctx, *gceLogName)
logc, err := logging.NewClient(ctx, projID, *gceLogName)
if err != nil {
log.Fatal(err)
}