Parcourir la source

resolving the new interface because of ajay's change

Signed-off-by: Alan Rodrigues <alanr5691@yahoo.com>
Alan Rodrigues il y a 3 ans
Parent
commit
40416bb29a
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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)