Verified Commit 507d6519 authored by Sankalp's avatar Sankalp Committed by GitLab
Browse files

Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Bob Van Landuyt's avatarBob Van Landuyt <bob@gitlab.com>
parent 5faffe07
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -182,9 +182,7 @@ used against non-String values (e.g. matching a 503 status against `{ re: '^5' }
`oneOf` is set membership via `Set#include?` (`eql?`/`hash` equality, no
coercion): it agrees with `eq` for Strings, Symbols, booleans, nil, and
same-class numerics, but cross-type numerics differ (`1 == 1.0`, yet
`{ oneOf: [1] }` does not match `1.0`). The name follows the runbooks' PromQL
selector convention (`selectors.libsonnet`), avoiding the `in` keyword in
languages labkit targets (Python). A bare Array is rejected; membership must
`{ oneOf: [1] }` does not match `1.0`). A bare Array is rejected; membership must
be spelled `{ oneOf: [...] }` explicitly.

Glob and prefix matchers are intentionally out of scope.