Commit e0b796d
monit service parsing needs to handle multi-line data (sonic-net#18045)
In some circumstances monit can return multiline data for a
value for a service, such as:
This patch adds handling for ignoring multi-line output since
no tests rely on it.
Signed-off-by: Brad House <bhouse@nexthop.ai>
Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>1 parent f87660d commit e0b796d
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
160 | 166 | | |
161 | 167 | | |
162 | 168 | | |
| |||
0 commit comments