Skip to content

prometheus invalid version: unknown revision 000000000000 #7183

@sebboer

Description

@sebboer

Report

When adding github.com/kedacore/keda/v2 v2.18.0 into my golang application,
go mod download will error like:

go: github.com/prometheus/prometheus@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000

The problem was already reported in: #6862
And fixed in: #6806
But it seems that the dependency bump in 595a7be#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6 recreated the bug

Expected Behavior

No error from go mod

Actual Behavior

Go mod errors:

go: github.com/prometheus/prometheus@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000

Steps to Reproduce the Problem

  1. New go app
  2. import github.com/kedacore/keda/v2 v2.18.0
  3. go mod download

Logs from KEDA operator

No response

KEDA Version

2.18.0

Kubernetes Version

None

Platform

None

Scaler Details

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Ready To Ship

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions