From 8d1f07175bd0e1f2c163466b8a657a658c79a717 Mon Sep 17 00:00:00 2001 From: Michael Taufen Date: Sat, 3 Dec 2016 20:13:57 -0800 Subject: [PATCH] Fix minor issues The two affected lines: a) Were both represented entirely in a code block due to indentation, which does not appear to be the intent. b) Look like a mess if you don't know they are formatted as a URL query string. --- docs/user-guide/labels.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user-guide/labels.md b/docs/user-guide/labels.md index 91befcd68194a..583af0b806b83 100644 --- a/docs/user-guide/labels.md +++ b/docs/user-guide/labels.md @@ -99,10 +99,10 @@ _Set-based_ requirements can be mixed with _equality-based_ requirements. For ex ### LIST and WATCH filtering -LIST and WATCH operations may specify label selectors to filter the sets of objects returned using a query parameter. Both requirements are permitted: +LIST and WATCH operations may specify label selectors to filter the sets of objects returned using a query parameter. Both requirements are permitted (presented here as they would appear in a URL query string): - * _equality-based_ requirements: `?labelSelector=environment%3Dproduction,tier%3Dfrontend` - * _set-based_ requirements: `?labelSelector=environment+in+%28production%2Cqa%29%2Ctier+in+%28frontend%29` + * _equality-based_ requirements: `?labelSelector=environment%3Dproduction,tier%3Dfrontend` + * _set-based_ requirements: `?labelSelector=environment+in+%28production%2Cqa%29%2Ctier+in+%28frontend%29` Both label selector styles can be used to list or watch resources via a REST client. For example, targeting `apiserver` with `kubectl` and using _equality-based_ one may write: