From 8ecd2381a4a9b7823849e7163d182ea5bc5d5832 Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Tue, 26 Nov 2019 23:10:45 +0000 Subject: [PATCH] Remove validator regexp as its no longer needed. --- runtime/kubernetes/client/kubernetes.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/runtime/kubernetes/client/kubernetes.go b/runtime/kubernetes/client/kubernetes.go index 677a2214..80b14d32 100644 --- a/runtime/kubernetes/client/kubernetes.go +++ b/runtime/kubernetes/client/kubernetes.go @@ -7,11 +7,6 @@ import ( "github.com/micro/go-micro/util/log" ) -const ( - // https://github.com/kubernetes/apimachinery/blob/master/pkg/util/validation/validation.go#L134 - dns1123LabelFmt string = "[a-z0-9]([-a-z0-9]*[a-z0-9])?" -) - var ( // DefaultImage is default micro image DefaultImage = "micro/go-micro"