wilfred-s commented on a change in pull request #124: [YUNIKORN-25] Logging 
improvements
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/124#discussion_r408590963
 
 

 ##########
 File path: pkg/cache/cluster_info.go
 ##########
 @@ -562,7 +562,14 @@ func (m *ClusterInfo) 
processAllocationProposalEvent(event *cacheevent.Allocatio
                        RejectedAllocations: event.AllocationProposals[:1],
                })
                return
+       } else {
 
 Review comment:
   there is no need for an else clause.
   logging should be outside

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

Reply via email to