From 4100328c4b1eb71e30c0756ed2fec2f9d1258158 Mon Sep 17 00:00:00 2001 From: Nick Santos Date: Wed, 15 May 2024 10:14:30 -0400 Subject: [PATCH] vendor: update clusterid Signed-off-by: Nick Santos --- go.mod | 4 ++-- go.sum | 4 ++-- vendor/github.com/tilt-dev/clusterid/product.go | 2 +- vendor/modules.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index f255dd531f..e1ce64f0db 100644 --- a/go.mod +++ b/go.mod @@ -20,6 +20,7 @@ require ( github.com/fsnotify/fsevents v0.1.1 github.com/gdamore/tcell v1.1.3 github.com/go-logr/logr v1.4.1 + github.com/gogo/protobuf v1.3.2 github.com/golang/protobuf v1.5.4 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.3.0 @@ -45,7 +46,7 @@ require ( github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 - github.com/tilt-dev/clusterid v0.1.5 + github.com/tilt-dev/clusterid v0.1.6 github.com/tilt-dev/dockerignore v0.1.1 github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375 github.com/tilt-dev/go-get v0.2.3 @@ -145,7 +146,6 @@ require ( github.com/gofrs/flock v0.8.1 // indirect github.com/gofrs/uuid v4.0.0+incompatible // indirect github.com/gogo/googleapis v1.4.1 // indirect - github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/google/btree v1.0.1 // indirect github.com/google/cel-go v0.17.8 // indirect diff --git a/go.sum b/go.sum index 1b736a3509..05d858d786 100644 --- a/go.sum +++ b/go.sum @@ -757,8 +757,8 @@ github.com/tilt-dev/apimachinery v0.30.0-tilt-20240426 h1:9s1leSNXrT7JD3G6B+VJLr github.com/tilt-dev/apimachinery v0.30.0-tilt-20240426/go.mod h1:iexa2somDaxdnj7bha06bhb43Zpa6eWH8N8dbqVjTUc= github.com/tilt-dev/browser v0.0.1 h1:e+mFToX6A7pkMlGFrXW5VLvS7qS0HVbcXqmR0uPrWUA= github.com/tilt-dev/browser v0.0.1/go.mod h1:2DaMt8P8xEqDFzxaAbraOig5iUmQdd1wtO1Tb6tODHA= -github.com/tilt-dev/clusterid v0.1.5 h1:zdyWj7DWg35PGUj3Z7Gvq0N6+tQiVt+BpBnmpnCUueg= -github.com/tilt-dev/clusterid v0.1.5/go.mod h1:MV6q698Z7LEbu9i7p+JwqGsu2EkiiaQViIrL6gd8XiI= +github.com/tilt-dev/clusterid v0.1.6 h1:nkU78/AifCAemucL2lWeZRzZLprif9hjIc6keGfwUyo= +github.com/tilt-dev/clusterid v0.1.6/go.mod h1:0Ymq2EAiHlLt61243A6xqS9VRcmGqUAATZM+tryv4WI= github.com/tilt-dev/dockerignore v0.1.1 h1:/MPYqcD8qMCMyh3yiHuQdzbMQi9NL4vVopo6/9D/XvE= github.com/tilt-dev/dockerignore v0.1.1/go.mod h1:2ooUDj8B9FNWYvHadA4EKG0JDaeAOjiq5P+mvEzS2eY= github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375 h1:QB54BJwA6x8QU9nHY3xJSZR2kX9bgpZekRKGkLTmEXA= diff --git a/vendor/github.com/tilt-dev/clusterid/product.go b/vendor/github.com/tilt-dev/clusterid/product.go index a5c601ef80..40069c01ce 100644 --- a/vendor/github.com/tilt-dev/clusterid/product.go +++ b/vendor/github.com/tilt-dev/clusterid/product.go @@ -78,7 +78,7 @@ func ProductFromContext(c *clientcmdapi.Context, cl *clientcmdapi.Cluster) Produ // As of KinD 0.6.0, KinD uses a context name prefix // https://github.com/kubernetes-sigs/kind/issues/1060 return ProductKIND - } else if strings.HasPrefix(cn, "microk8s-cluster") { + } else if strings.HasPrefix(cn, "microk8s") { return ProductMicroK8s } else if strings.HasPrefix(cn, "api-crc-testing") { return ProductCRC diff --git a/vendor/modules.txt b/vendor/modules.txt index 90522cc01d..6b165a5c7f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -652,7 +652,7 @@ github.com/theupdateframework/notary/tuf/data github.com/theupdateframework/notary/tuf/signed github.com/theupdateframework/notary/tuf/utils github.com/theupdateframework/notary/tuf/validation -# github.com/tilt-dev/clusterid v0.1.5 +# github.com/tilt-dev/clusterid v0.1.6 ## explicit; go 1.18 github.com/tilt-dev/clusterid # github.com/tilt-dev/dockerignore v0.1.1