You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by "pbacsko (via GitHub)" <gi...@apache.org> on 2023/06/22 19:20:43 UTC

[GitHub] [yunikorn-k8shim] pbacsko commented on pull request #622: [YUNIKORN-1820] update yunikorn-scheduler-interface & yunikorn-core

pbacsko commented on PR #622:
URL: https://github.com/apache/yunikorn-k8shim/pull/622#issuecomment-1603194839

   > Note: I updated some functions to return pointers in `pkg/common/si_helper.go`, because `go vet` return some errors like:
   > 
   > ```
   > pkg/common/si_helper.go:98:9: return copies lock value: github.com/apache/yunikorn-scheduler-interface/lib/go/si.AllocationRequest contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex
   > ```
   
   That's good, mutexes are not supposed to be value-copied (just like atomic variables). 
   
   
   


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org