Skip to content
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

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

Rajat-0
Copy link

@Rajat-0 Rajat-0 commented Apr 29, 2024

No description provided.

@Rajat-0
Copy link
Author

Rajat-0 commented Apr 29, 2024

@SeanHQF @bjhuangr PTAL

{'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])*$'},
Copy link
Contributor

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?

Copy link
Contributor

@bjhuangr bjhuangr Apr 29, 2024

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})?$'

Copy link
Contributor

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

Copy link
Contributor

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])*$'},
Copy link
Contributor

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

Copy link
Author

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])*$'},
Copy link
Contributor

@bjhuangr bjhuangr Apr 29, 2024

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]>
@bjhuangr bjhuangr merged commit 43786c4 into openmainframeproject:master Apr 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants