wilfred-s 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_r383608056
 
 

 ##########
 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:
   minor: missing new line

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to