Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1385)

Unified Diff: perf/server/src/filetilestore/filestore.go

Issue 382313002: Adds tile handler to the perf server (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Removed comment Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « perf/server/src/config/config.go ('k') | perf/server/src/server/data.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: perf/server/src/filetilestore/filestore.go
diff --git a/perf/server/src/filetilestore/filestore.go b/perf/server/src/filetilestore/filestore.go
index 9ab4c16c98117d8a8502c9ba5a3309308e8e0bb5..bbfebd37cd25d95f7f44e3db667df6305968ec89 100644
--- a/perf/server/src/filetilestore/filestore.go
+++ b/perf/server/src/filetilestore/filestore.go
@@ -91,13 +91,13 @@ func (store FileTileStore) Get(scale, index int) (*types.Tile, error) {
t := types.NewTile()
dec := gob.NewDecoder(f)
if err := dec.Decode(t); err != nil {
- return nil, fmt.Errorf("Failed to dencode tile %s: %s", filename, err)
+ return nil, fmt.Errorf("Failed to decode tile %s: %s", filename, err)
}
return t, nil
}
-// NewFileTileStore creates a new TileStore that is back by the file system,
+// NewFileTileStore creates a new TileStore that is backed by the file system,
// where dir is the directory name and datasetName is the name of the dataset.
func NewFileTileStore(dir, datasetName string) types.TileStore {
return FileTileStore{
« no previous file with comments | « perf/server/src/config/config.go ('k') | perf/server/src/server/data.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698