Sfoglia il codice sorgente

resolving the new interface because of ajay's change

Signed-off-by: Alan Rodrigues <alanr5691@yahoo.com>
Alan Rodrigues 3 anni fa
parent
commit
40416bb29a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      pkg/cloud/aliyunprovider.go

+ 4 - 0
pkg/cloud/aliyunprovider.go

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