Skip to content

Commit

Permalink
Wait for log to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
marco6 committed Oct 28, 2024
1 parent 5a05866 commit 54c9815
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kine/logstructured/logstructured.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func (l *LogStructured) Start(ctx context.Context) error {

func (l *LogStructured) Wait() {
l.wg.Wait()
l.log.Wait()
}

func (l *LogStructured) Get(ctx context.Context, key, rangeEnd string, limit, revision int64) (revRet int64, kvRet *server.KeyValue, errRet error) {
Expand Down

0 comments on commit 54c9815

Please sign in to comment.