chia7712 commented on PR #848:
URL: https://github.com/apache/yunikorn-k8shim/pull/848#issuecomment-2127049269

   nit:  the `existingLabels` variable is unused now, so we do a bit refactor 
for the deep copy.
   
   ```go
        result := make(map[string]string)
        for k, v := range pod.Labels {
                result[k] = v
        }
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to