mirror of https://github.com/perkeep/perkeep.git
camweb: make it build
Because of cloud logging changes from
9106ce8296
Change-Id: I0620c72c2ada3cf916750586194c18077c8f942a
This commit is contained in:
parent
9106ce8296
commit
07a2721f65
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue