diff options
author | Thane Gill <me@thanegill.com> | 2018-02-09 12:41:39 -0800 |
---|---|---|
committer | Neil Lathwood <neil@lathwood.co.uk> | 2018-02-09 20:41:39 +0000 |
commit | 3836597f38d7dd34ac164857e317560af4206fd1 (patch) | |
tree | 2dacc2fa0aa0f13377414ceaf392268873e5859b /lib/oxidized | |
parent | 2726fff67ded963e24776e60f1e8976ae2bb037b (diff) |
model: AWOS Make the space between # mandatory rather than optional in the prompt. (#1182)
Per discussion in #1000
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/aosw.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |