chenyulin0719 commented on code in PR #844:
URL: https://github.com/apache/yunikorn-core/pull/844#discussion_r1568573724
##########
pkg/events/event_store.go:
##########
@@ -43,8 +43,9 @@ type EventStore struct {
func newEventStore(size uint64) *EventStore {
return &EventStore{
- events: make([]*si.EventRecord, size),
- size: size,
+ events: make([]*si.EventRecord, size),
+ size: size,
+ lastSize: size,
Review Comment:
Done. 74b9c1ee4e8ba7638e62c2c1b4647940419ac18d
Extend the existing test: TestSetStoreSize()
--
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]