replacing /tmp with os.TempDir()
Change-Id: I013972b87f14c37563135ef4172f1c03e871b661
diff --git a/services/mgmt/lib/fs/simplestore.go b/services/mgmt/lib/fs/simplestore.go
index beb2f40..318529d 100644
--- a/services/mgmt/lib/fs/simplestore.go
+++ b/services/mgmt/lib/fs/simplestore.go
@@ -14,7 +14,8 @@
"veyron2/verror"
)
-// TODO(rjkroege@google.com) Switch Memstore to the mid-August 2014 style store API.
+// TODO(rjkroege@google.com) Switch Memstore to the mid-August 2014
+// style store API.
// Memstore contains the state of the memstore. It supports a single
// transaction at a time. The current state of a Memstore under a
@@ -44,7 +45,8 @@
gob.Register(application.Envelope{})
}
-// NewMemstore persists the Memstore to /tmp if no file is configured.
+// NewMemstore persists the Memstore to os.TempDir() if no file is
+// configured.
func NewMemstore(configuredPersistentFile string) (*Memstore, error) {
data := make(map[string]interface{}, startingMemstoreSize)
if configuredPersistentFile == "" {