jamesyu558

Results 11 comments of jamesyu558

We modified that function like this: func parseNodeId(quorumToolOutput []byte) (string, error) { nodeRe := regexp.MustCompile(`(?m)Node ID:\s+(\w+)`) matches := nodeRe.FindSubmatch(quorumToolOutput) var x = string(quorumToolOutput) if matches == nil { return "",...