From c8d3f5a4afda72616ccf85d67a40f0a408d06bba Mon Sep 17 00:00:00 2001
From: Travis Ralston <travpc@gmail.com>
Date: Fri, 27 Dec 2019 23:02:22 -0700
Subject: [PATCH] Fix logging fail in picking a datastore

---
 storage/datastore/datastore.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/datastore/datastore.go b/storage/datastore/datastore.go
index 81438cf5..76ebc304 100644
--- a/storage/datastore/datastore.go
+++ b/storage/datastore/datastore.go
@@ -88,7 +88,7 @@ func GetUriForDatastore(dsConf config.DatastoreConfig) string {
 
 func PickDatastore(forKind string, ctx rcontext.RequestContext) (*DatastoreRef, error) {
 	// If we haven't found a legacy option, pick a datastore
-	ctx.Log.Info("Finding a suitable datastore to pick for uploads")
+	ctx.Log.Info("Finding a suitable datastore to pick for " + forKind)
 	confDatastores := ctx.Config.DataStores
 	mediaStore := storage.GetDatabase().GetMediaStore(ctx)
 
-- 
GitLab