Skip to content

Commit c8dedac

Browse files
authored
Remove accidentally added OCP dependencies (#11)
1 parent fda4ebb commit c8dedac

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ go 1.24.0
44

55
toolchain go1.24.4
66

7-
require github.com/openshift/api v0.0.0-20240729140855-0a58f8c30a8c // release-4.15
8-
97
require (
108
github.com/cloudscale-ch/cloudscale-go-sdk/v6 v6.0.0
119
github.com/go-logr/logr v1.4.3

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ github.com/onsi/ginkgo/v2 v2.22.2 h1:/3X8Panh8/WwhU/3Ssa6rCKqPLuAkVY2I0RoyDLySlU
116116
github.com/onsi/ginkgo/v2 v2.22.2/go.mod h1:oeMosUL+8LtarXBHu/c0bx2D/K9zyQ6uX3cTyztHwsk=
117117
github.com/onsi/gomega v1.37.0 h1:CdEG8g0S133B4OswTDC/5XPSzE1OeP29QOioj2PID2Y=
118118
github.com/onsi/gomega v1.37.0/go.mod h1:8D9+Txp43QWKhM24yyOBEdpkzN8FvJyAwecBgsU4KU0=
119-
github.com/openshift/api v0.0.0-20240729140855-0a58f8c30a8c h1:lm1Suv8hNuOCTpO0iEDtdGk6jVuS37/xgW+aV0Ze4oc=
120-
github.com/openshift/api v0.0.0-20240729140855-0a58f8c30a8c/go.mod h1:qNtV0315F+f8ld52TLtPvrfivZpdimOzTi3kn9IVbtU=
121119
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
122120
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
123121
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=

main.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ import (
2929
_ "k8s.io/client-go/plugin/pkg/client/auth"
3030

3131
"github.com/cloudscale-ch/cloudscale-go-sdk/v6"
32-
configv1 "github.com/openshift/api/config/v1"
33-
machinev1beta1 "github.com/openshift/api/machine/v1beta1"
34-
machineconfigurationv1 "github.com/openshift/api/machineconfiguration/v1"
35-
batchv1 "k8s.io/api/batch/v1"
3632
"k8s.io/apimachinery/pkg/runtime"
3733
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
3834
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
@@ -58,11 +54,6 @@ var (
5854

5955
func init() {
6056
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
61-
utilruntime.Must(configv1.AddToScheme(scheme))
62-
utilruntime.Must(batchv1.AddToScheme(scheme))
63-
utilruntime.Must(machineconfigurationv1.AddToScheme(scheme))
64-
utilruntime.Must(machinev1beta1.AddToScheme(scheme))
65-
6657
utilruntime.Must(cloudscalev1beta1.AddToScheme(scheme))
6758
//+kubebuilder:scaffold:scheme
6859
}

0 commit comments

Comments
 (0)