metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otto Fowler <ottobackwa...@gmail.com>
Subject Re: Stellar support for switch/case style conditionals
Date Tue, 17 Oct 2017 18:26:00 GMT
match(longer_variable -> x) { x < 10 : 'info', x <= 20 : 'warn',
default: ‘critical’ + TO_STRING(x) }


On October 17, 2017 at 14:24:09, Otto Fowler (ottobackwards@gmail.com)
wrote:

match(longer_variable -> x) { x < 10 : 'info', x <= 20 : 'warn', default:
'critical' }

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message