From e281bde5048c6909a89c7d14f1b8fd0d80849938 Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Thu, 4 Aug 2022 10:03:05 -0400 Subject: [PATCH] Update go.mod to go1.19 Kubernetes-commit: 00db9f02293a6e0325330b575bffb9e466406dfe --- go.mod | 9 ++++++--- go.sum | 2 -- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index b6abca6e61..7d79786975 100644 --- a/go.mod +++ b/go.mod @@ -2,12 +2,12 @@ module k8s.io/api -go 1.18 +go 1.19 require ( github.com/gogo/protobuf v1.3.2 github.com/stretchr/testify v1.7.0 - k8s.io/apimachinery v0.0.0-20220804081135-41606c6745e1 + k8s.io/apimachinery v0.0.0 ) require ( @@ -34,4 +34,7 @@ require ( sigs.k8s.io/yaml v1.2.0 // indirect ) -replace k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20220804081135-41606c6745e1 +replace ( + k8s.io/api => ../api + k8s.io/apimachinery => ../apimachinery +) diff --git a/go.sum b/go.sum index 1792236b87..5f302eaabd 100644 --- a/go.sum +++ b/go.sum @@ -82,8 +82,6 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/apimachinery v0.0.0-20220804081135-41606c6745e1 h1:58bJ/oy7vDSXeH8erpGLMDa5yLmaBii2cbLXqF4Nf/A= -k8s.io/apimachinery v0.0.0-20220804081135-41606c6745e1/go.mod h1:po5cjR38/yCh8KAM3TxGrc5OhKnCyGsg3KBfG8+KTJ4= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.70.1 h1:7aaoSdahviPmR+XkS7FyxlkkXs6tHISSG03RxleQAVQ= k8s.io/klog/v2 v2.70.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=