0
0

added config_metrics.go which builds on debug tag

When the debug tag is used, the config_metrics.go file
ensures the metrics decorator KV store is imported.
This commit is contained in:
Steve Yen 2015-04-08 22:08:01 -07:00
parent 0f16eccd6b
commit 86f2b844b4

17
config_metrics.go Normal file
View File

@ -0,0 +1,17 @@
// Copyright (c) 2015 Couchbase, Inc.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software distributed under the
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
// either express or implied. See the License for the specific language governing permissions
// and limitations under the License.
// +build debug
package bleve
import (
_ "github.com/blevesearch/bleve/index/store/metrics"
)