mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-14 17:16:54 +02:00
Fix missing return on error
This commit is contained in:
parent
8eae11da5c
commit
aa020d556c
@ -370,7 +370,7 @@ func (ev *evalCmd) compareResult(result model.Value) error {
|
||||
|
||||
case model.Vector:
|
||||
if !ev.instant {
|
||||
fmt.Errorf("received instant result on range evaluation")
|
||||
return fmt.Errorf("received instant result on range evaluation")
|
||||
}
|
||||
seen := map[model.Fingerprint]bool{}
|
||||
for pos, v := range val {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user