zhuqi-lucas commented on PR #613:
URL: https://github.com/apache/yunikorn-k8shim/pull/613#issuecomment-1593235017

   @pbacsko 
   One more question, how can we add the unit test to cover the log, for 
example, the log here, how we can improve the unit test to cover this, using 
log hook? Thanks!
   ```
        if err != nil {
                log.Logger().Warn("Unable to process namespace.guaranteed 
annotation",
                        zap.String("namespace", namespaceObj.Name),
                        zap.String("namespace.guaranteed is", 
namespaceGuaranteed))
                return nil
        }
   ```


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