Procházet zdrojové kódy

resolving the new interface because of ajay's change

Signed-off-by: Alan Rodrigues <alanr5691@yahoo.com>
Alan Rodrigues před 3 roky
rodič
revize
40416bb29a
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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)