From 3836597f38d7dd34ac164857e317560af4206fd1 Mon Sep 17 00:00:00 2001 From: Thane Gill Date: Fri, 9 Feb 2018 12:41:39 -0800 Subject: model: AWOS Make the space between # mandatory rather than optional in the prompt. (#1182) Per discussion in #1000 --- lib/oxidized/model/aosw.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/aosw.rb') diff --git a/lib/oxidized/model/aosw.rb b/lib/oxidized/model/aosw.rb index a85ead7..71fde2e 100644 --- a/lib/oxidized/model/aosw.rb +++ b/lib/oxidized/model/aosw.rb @@ -11,7 +11,7 @@ class AOSW < Oxidized::Model # All IAPs connected to a Instant Controller will have the same config output. Only the controller needs to be monitored. comment '# ' - prompt /^\(?.+\)?\s?[#>]/ + prompt /^\(?.+\)?\s[#>]/ cmd :all do |cfg| cfg.each_line.to_a[1..-2].join -- cgit v1.2.1