Skip to content

Commit

Permalink
Merge pull request kubernetes#27123 from jszczepkowski/hpa-e2e-fix3
Browse files Browse the repository at this point in the history
Fixed GetGroupNodes method: wrong regexp function was used.
  • Loading branch information
piosz authored Jun 10, 2016
2 parents 4793372 + f445d41 commit 760c563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/resize_nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func GetGroupNodes(group string) ([]string, error) {
return nil, err
}
re := regexp.MustCompile(".*RUNNING")
lines := re.FindStringSubmatch(string(output))
lines := re.FindAllString(string(output), -1)
for i, line := range lines {
lines[i] = line[:strings.Index(line, " ")]
}
Expand Down

0 comments on commit 760c563

Please sign in to comment.