Просмотр исходного кода

resolving the new interface because of ajay's change

Signed-off-by: Alan Rodrigues <alanr5691@yahoo.com>
Alan Rodrigues 3 лет назад
Родитель
Сommit
40416bb29a
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      pkg/cloud/aliyunprovider.go

+ 4 - 0
pkg/cloud/aliyunprovider.go

@@ -593,6 +593,10 @@ func (aliyunNodeKey *AliyunNodeKey) GPUType() string {
 	return ""
 }
 
+func (aliyunNodeKey *AliyunNodeKey) GPUCount() int {
+	return 0
+}
+
 // Get's the key for the k8s node input
 func (aliyun *Aliyun) GetKey(mapValue map[string]string, node *v1.Node) Key {
 	//Mostly parse the Node object and get the ProviderID, region, InstanceType, OSType and OptimizedKeyword(In if block)