mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport NewNopSystemInfo
This commit is contained in:
parent
631ee915df
commit
92d521912e
2 changed files with 3 additions and 3 deletions
|
|
@ -267,8 +267,8 @@ type SystemInfo interface {
|
|||
MemUsed() (uint64, error)
|
||||
}
|
||||
|
||||
// NewNopSystemInfo creates a no-op implementation of SystemInfo.
|
||||
func NewNopSystemInfo() *NopSystemInfo {
|
||||
// newNopSystemInfo creates a no-op implementation of SystemInfo.
|
||||
func newNopSystemInfo() *NopSystemInfo {
|
||||
return &NopSystemInfo{}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ func NewServer(opts ...ServerOption) (*Server, error) {
|
|||
cluster: newCluster(),
|
||||
holder: NewHolder(),
|
||||
diagnostics: newDiagnosticsCollector(defaultDiagnosticServer),
|
||||
systemInfo: NewNopSystemInfo(),
|
||||
systemInfo: newNopSystemInfo(),
|
||||
|
||||
gcNotifier: NopGCNotifier,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue