Skip to content

Commit 53969b7

Browse files
authored
Merge pull request #274 from ydb-platform/fix-traces
* Fixed syntax mistake in `trace.TablePooStateChangeInfo` to `trace.T…
2 parents 08eda19 + 0e5d619 commit 53969b7

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Fixed syntax mistake in `trace.TablePooStateChangeInfo` to `trace.TablePoolStateChangeInfo`
2+
13
## v3.26.9
24
* Fixed bug with convert ydb value to `time.Duration` in `result.Scan[WithDefaults,Named]()`
35
* Fixed bug with make ydb value from `time.Duration` in `types.IntervalValueFromDuration(d)`

log/table.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ func Table(l Logger, details trace.Details) (t trace.Table) {
582582
}
583583
}
584584
}
585-
t.OnPoolStateChange = func(info trace.TablePooStateChangeInfo) {
585+
t.OnPoolStateChange = func(info trace.TablePoolStateChangeInfo) {
586586
l.Infof(`state changed {size:%d,event:"%s"}`,
587587
info.Size,
588588
info.Event,

trace/table.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type (
6060
TableSessionTransactionRollbackDoneInfo,
6161
)
6262
// Pool state event
63-
OnPoolStateChange func(TablePooStateChangeInfo)
63+
OnPoolStateChange func(TablePoolStateChangeInfo)
6464
// Pool session lifecycle events
6565
OnPoolSessionNew func(TablePoolSessionNewStartInfo) func(TablePoolSessionNewDoneInfo)
6666
OnPoolSessionClose func(TablePoolSessionCloseStartInfo) func(TablePoolSessionCloseDoneInfo)
@@ -247,7 +247,7 @@ type (
247247
Limit int
248248
KeepAliveMinSize int
249249
}
250-
TablePooStateChangeInfo struct {
250+
TablePoolStateChangeInfo struct {
251251
Size int
252252
Event string
253253
}

trace/table_gtrace.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)