Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5aaf857

Browse files
votdevVicente-Cheng
authored andcommitted
Fix go-mod warnings
Get rid of ``` go: github.com/openshift/[email protected]: invalid version: unknown revision v0.0.0 go: github.com/openshift/[email protected]: invalid version: unknown revision v0.0.0 go: github.com/rancher/rancher/pkg/[email protected]: invalid version: unknown revision pkg/apis/v0.0.0 ``` The module versions were taken from the Harvester v1.5.1 which adds them as indirect requirements to node-disk-manager. ``` $ go mod graph | grep github.com/openshift/api github.com/harvester/[email protected] github.com/openshift/[email protected] $ go mod graph | grep github.com/openshift/client-go github.com/harvester/[email protected] github.com/openshift/[email protected] $ go mod graph | grep github.com/rancher/rancher/pkg/apis github.com/harvester/[email protected] github.com/rancher/rancher/pkg/[email protected] ``` Signed-off-by: Volker Theile <[email protected]>
1 parent bdd5a84 commit 5aaf857

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ module github.com/harvester/node-disk-manager
33
go 1.24.2
44

55
replace (
6+
github.com/openshift/api => github.com/openshift/api v0.0.0-20191219222812-2987a591a72c
7+
github.com/openshift/client-go => github.com/openshift/client-go v0.0.0-20200521150516-05eb9880269c
8+
github.com/rancher/rancher/pkg/apis => github.com/rancher/rancher/pkg/apis v0.0.0-20240919204204-3da2ae0cabd1
69
gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e
710
k8s.io/api => k8s.io/api v0.32.6
811
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.32.6

vendor/modules.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,9 @@ sigs.k8s.io/structured-merge-diff/v4/value
772772
## explicit; go 1.12
773773
sigs.k8s.io/yaml
774774
sigs.k8s.io/yaml/goyaml.v2
775+
# github.com/openshift/api => github.com/openshift/api v0.0.0-20191219222812-2987a591a72c
776+
# github.com/openshift/client-go => github.com/openshift/client-go v0.0.0-20200521150516-05eb9880269c
777+
# github.com/rancher/rancher/pkg/apis => github.com/rancher/rancher/pkg/apis v0.0.0-20240919204204-3da2ae0cabd1
775778
# gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e
776779
# k8s.io/api => k8s.io/api v0.32.6
777780
# k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.32.6

0 commit comments

Comments
 (0)