]> Cypherpunks repositories - gostls13.git/commitdiff
godoc: update metadata in appinit.go
authorAndrew Gerrand <adg@golang.org>
Thu, 2 Feb 2012 04:18:33 +0000 (15:18 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 2 Feb 2012 04:18:33 +0000 (15:18 +1100)
R=golang-dev, dsymonds, bradfitz
CC=golang-dev
https://golang.org/cl/5619050

src/cmd/godoc/appinit.go

index 3113498c8413267fa633ac7e54ebf52898a39df5..e65be40945d014fc50943e923ac22d222e3a38ad 100644 (file)
@@ -56,6 +56,9 @@ func init() {
        // initialize directory trees for user-defined file systems (-path flag).
        initDirTrees()
 
+       // Immediately update metadata.
+       updateMetadata()
+
        // initialize search index
        if *indexEnabled {
                go indexer()