Merge "playground: Move context.T out of rpc.ServerCall."
diff --git a/go/src/v.io/x/playground/compilerd/storage/model.go b/go/src/v.io/x/playground/compilerd/storage/model.go
index 6066e28..f0c711c 100644
--- a/go/src/v.io/x/playground/compilerd/storage/model.go
+++ b/go/src/v.io/x/playground/compilerd/storage/model.go
@@ -139,11 +139,11 @@
bHash := bHashRaw[:]
// Attempt transaction up to 3 times.
- runInTransaction(3, func(tx *sqlx.Tx) error {
+ retErr = runInTransaction(3, func(tx *sqlx.Tx) error {
// Generate a random id for the bundle link.
id, err := randomLink(bHash)
if err != nil {
- return fmt.Errorf("Error creaking link id: %v", err)
+ return fmt.Errorf("Error creating link id: %v", err)
}
// Check if bundle link with this id already exists in DB.