From 0d189a47a2cc022c641f729152ff87fb79f534e4 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Wed, 17 Oct 2018 17:58:52 -0500 Subject: [PATCH] added v2 notation --- http/translator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/http/translator.go b/http/translator.go index f83bde113..3a2acae04 100644 --- a/http/translator.go +++ b/http/translator.go @@ -25,6 +25,7 @@ type translateStore struct { // NewTranslateStore returns a new instance of TranslateStore based on node. // DEPRECATED: Providing a string url to this function is being deprecated. Instead, // provide a *pilosa.Node. +// TODO (2.0) Refactor to avoid panic func NewTranslateStore(node interface{}) pilosa.TranslateStore { var n *pilosa.Node switch v := node.(type) {