From 90871dfea5e87907f1c4b8c77a270f2e57467fd4 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Thu, 25 Jan 2024 11:05:40 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"Doc:=20Add=20hint=20to=20warning=20fo?= =?UTF-8?q?r=20users=20of=20namespace=20if=20selectors=20=E2=80=A6=20(#149?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9ab57ae0a41cfacda1756ee758f05db7e3747b3a, PR #148 --- namespace/namespace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/namespace/namespace.go b/namespace/namespace.go index ec537e7..be46710 100644 --- a/namespace/namespace.go +++ b/namespace/namespace.go @@ -129,7 +129,7 @@ func Apply(deckfile *yaml.Node, selectors yamlbasics.SelectorSet, namespace stri logbasics.Info("no routes matched the selectors, nothing to do") return nil } - return errors.New("no routes matched the selectors. Check command help to suppress this error") + return errors.New("no routes matched the selectors") } routesNoStripping := allRoutes.Subtract(targetRoutes) // everything not matched by the selectors