Skip to content

Commit

Permalink
Ibm: add Disk, GPU information in VMSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
suahlingo committed Dec 20, 2024
1 parent 45efc3f commit 70399c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func getGpuCount(name string) string {
gpuDetails := specDetails[len(specDetails)-1]
for i, char := range gpuDetails {
if char >= 'a' && char <= 'z' || char >= 'A' && char <= 'Z' {
return gpuDetails[:i] // 숫자 부분 반환
return gpuDetails[:i]
}
}
return "-1"
Expand Down

0 comments on commit 70399c3

Please sign in to comment.