1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

fix regresssion for scheduling

https://github.com/rancher/rancher/issues/15379.
Fix the regression introduced by https://github.com/rancher/types/pull/535. We accidently remove the whitespace between in and notin.
This commit is contained in:
Daishan Peng
2018-09-06 09:55:26 -07:00
committed by Alena Prokharchyk
parent e339722678
commit 6188d36f7d

View File

@@ -14,7 +14,7 @@ import (
)
var (
exprRegexp = regexp.MustCompile("^(.*?)\\s*(=|!=|<|>|in|notin)\\s*(.*)$")
exprRegexp = regexp.MustCompile("^(.*?)\\s*(=|!=|<|>| in | notin )\\s*(.*)$")
)
type SchedulingMapper struct {