-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rhel8.10 image deploy issue. #818
Conversation
{'type': 'string', | ||
'pattern': | ||
'^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7){1}([.][0-9])?$'}, | ||
'^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7){1}([.][0-9])?([0-9])*$'}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this line used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7|8|9){1}([.][0-9]{1,2})?$'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, it's for redhatx.y
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it supports both rhelx.y and redhatx.y
@@ -456,10 +456,10 @@ def valid_char(char): | |||
'oneOf': [ | |||
{'type': 'string', | |||
'pattern': | |||
'^((r|R)(h|H)(e|E)(l|L))(6|7|8|9){1}([.][0-9])?$'}, | |||
'^((r|R)(h|H)(e|E)(l|L))(6|7|8|9){1}([.][0-9])?([0-9])*$'}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe '^((r|R)(h|H)(e|E)(l|L))(6|7|8|9){1}([.][0-9]{1,2})?$'
is better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll test this
{'type': 'string', | ||
'pattern': | ||
'^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7){1}([.][0-9])?$'}, | ||
'^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7){1}([.][0-9])?([0-9])*$'}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7|8|9){1}([.][0-9]{1,2})?$'
Signed-off-by: rajat.sharma12 <[email protected]>
No description provided.