We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf605b0 + b6f73b6 commit ac84cecCopy full SHA for ac84cec
pkg/util/machineset/util.go
@@ -77,9 +77,8 @@ func SetGpuCountAnnotation(annotations map[string]string, value string) map[stri
77
78
// SetGpuTypeAnnotation sets a value for gpu type in the annotations of a MachineSet.
79
// Currently, we only support nvidia as a gpu type.
80
-func SetGpuTypeAnnotation(annotations map[string]string, _ string) map[string]string {
81
- // TODO: Once we introduce proper gpu types, this needs to be changed.
82
- annotations[GpuTypeKey] = GpuNvidiaType
+func SetGpuTypeAnnotation(annotations map[string]string, value string) map[string]string {
+ annotations[GpuTypeKey] = value
83
84
return annotations
85
}
0 commit comments