Files
loki/vendor/github.com/go-openapi/analysis/debug.go
Jesus Vazquez db9dbe8e1d Bump prometheus dependency (#6403)
* Bump prometheus dependency

We had to add a replace of prometheus in go mod because thanos is
importing an older version and then replacing it.

* Undo textparser.New variable mismatch

* modtimevfs path update

* Fix labels withlabels and withoutlabels usages

WithoutLabels and WithLabels methods have dissappeared. Now
labels.NewBuilder has to be used.

* Fix RuleManager interface for Update()

Update now accepts a new param called ruleGroupPostProcessFunc which is
an optional function to be executed after rule group processing.

In this case I've set it to nil in the usages i've found.

* NewQueryRange now accepts QueryOpts

The NewQueryRange function now accepts QueryOptions so I had to update
all the calls.

I've set the opts to nil since we're not using them.

* gofmt
2022-06-15 12:16:23 -04:00

24 lines
762 B
Go

// Copyright 2015 go-swagger maintainers
//
// 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.
package analysis
import (
"os"
"github.com/go-openapi/analysis/internal/debug"
)
var debugLog = debug.GetLogger("analysis", os.Getenv("SWAGGER_DEBUG") != "")