[VOL-2735]Durations should be specified as type time.Duration not int

Change-Id: I6d09b9732de9c61f3cc3adae4427f23184fad8c3
diff --git a/rw_core/core/kv.go b/rw_core/core/kv.go
index 48b99e9..53db264 100644
--- a/rw_core/core/kv.go
+++ b/rw_core/core/kv.go
@@ -29,7 +29,7 @@
 	"google.golang.org/grpc/status"
 )
 
-func newKVClient(storeType string, address string, timeout int) (kvstore.Client, error) {
+func newKVClient(storeType string, address string, timeout time.Duration) (kvstore.Client, error) {
 	logger.Infow("kv-store-type", log.Fields{"store": storeType})
 	switch storeType {
 	case "consul":