You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In collector/corosync/parser.go line 154
There is a bug in the regexp when parsing corosync-cfgtool -s output: re := regexp.MustCompile(`(?m)(?P<prefix>RING|Link) ID (?P<number>\d+)\s+(?P<id>id|addr) \s*= (?P<address>.+)\s+status \s*= (?P<status>.+)`)
corosync-cfgtool outputs a tab character after "id" and "status", so the regexp with an additional space after id/status will not match. Without the spaces in front of "\s" the regexp will work. ...(?P<id>id|addr)\s*= (?P<address>.+)\s+status\s*=...
The text was updated successfully, but these errors were encountered:
In collector/corosync/parser.go line 154
There is a bug in the regexp when parsing corosync-cfgtool -s output:
re := regexp.MustCompile(`(?m)(?P<prefix>RING|Link) ID (?P<number>\d+)\s+(?P<id>id|addr) \s*= (?P<address>.+)\s+status \s*= (?P<status>.+)`)
corosync-cfgtool outputs a tab character after "id" and "status", so the regexp with an additional space after id/status will not match. Without the spaces in front of "\s" the regexp will work.
...(?P<id>id|addr)\s*= (?P<address>.+)\s+status\s*=...
The text was updated successfully, but these errors were encountered: