yunikorn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-yunikorn-k8shim] yangwwei commented on a change in pull request #72: Add ability to support 3rd party K8s operator integration
Date Tue, 25 Feb 2020 06:54:42 GMT
yangwwei commented on a change in pull request #72: Add ability to support 3rd party K8s operator
integration
URL: https://github.com/apache/incubator-yunikorn-k8shim/pull/72#discussion_r383688331
 
 

 ##########
 File path: pkg/appmgmt/appmgmt_recovery_test.go
 ##########
 @@ -118,6 +121,6 @@ func (ma *mockedAppManager) ListApplications() (map[string]interfaces.Applicatio
 	return apps, nil
 }
 
-func (ma *mockedAppManager) GetExistingAllocation(pod *v1.Pod) (*si.Allocation, bool) {
-	return nil, false
+func (ma *mockedAppManager) GetExistingAllocation(pod *v1.Pod) *si.Allocation {
+	return nil
 }
 
 Review comment:
   done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org


Mime
View raw message