-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add infraType field to TbSpecInfo/TbImageInfo and assets #1667
Add infraType field to TbSpecInfo/TbImageInfo and assets #1667
Conversation
@sykim-etri 오오!! 감사합니다. 검토해보겠습니다. |
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.
@sykim-etri 감사합니다! 사소한 코멘트가 있습니다.
그리고, 유닛테스트 일부 개선해주셨는데, 기존에 있던 한글 문구는 모두 영어로 수정 부탁드릴게요.
@@ -2032,6 +2047,23 @@ func UpdateResourceObject(nsId string, resourceType string, resourceObject inter | |||
|
|||
} | |||
|
|||
func expandInfraType(infraType string) string { | |||
expInfraTypeList := []string{} | |||
|
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.
infraType := strings.ToLower(infraType) | |
혹시 모르니, 소문자 기준 비교를 하면 좋을 것 같습니다. _
4acc77b
to
3fc98d0
Compare
ref cloud-barista#1665 - Update alibaba ubuntu 22.04 image info - Update NHNCloud ubuntu 20.04 and ubuntu 22.04 image info for vm/k8s - Update TbImageInfo with description from assets - Remove nodeImage in k8sclusterinfo.yaml - Comment out deprecated DB access and test filterSpecsByRange() with InfraType
3fc98d0
to
48f66c4
Compare
@sykim-etri 업데이트 완료하신 경우에는 댓글로 알려주세요~ :) |
본 PR 범위 내에서는 업데이트 완료했습니다. |
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.
LGTM!
TbSpecInfo와 TbImageInfo, assets/cloudspec.csv와 assets/cloudimage.csv에 InfraType 항목을 추가하고(#1665), csv 파일 내용을 일부 업데이트합니다.
활용
기타