mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Rename Basic() to SetBasic()
This commit is contained in:
parent
e8fc445e69
commit
35211cb8c0
2 changed files with 5 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ func NewRunner(cfg ConfigForIDK, batcher fbbatch.Batcher, logWriter io.Writer) *
|
|||
idkMain.Batcher = batcher
|
||||
idkMain.BatchSize = cfg.BatchSize
|
||||
idkMain.BatchMaxStaleness = cfg.BatchMaxStaleness
|
||||
idkMain.Basic()
|
||||
idkMain.SetBasic()
|
||||
idkMain.SetLog(logger.NewStandardLogger(logWriter))
|
||||
|
||||
kr := &Runner{
|
||||
|
|
|
|||
|
|
@ -245,9 +245,10 @@ func (m *Main) Rename() {
|
|||
}
|
||||
}
|
||||
|
||||
// Basic sets up Main with basic functionality, excluding those things which are
|
||||
// not required for some implementations (such as the kafka runner in fbsql).
|
||||
func (m *Main) Basic() {
|
||||
// SetBasic sets up Main with basic functionality, excluding those things which
|
||||
// are not required for some implementations (such as the kafka runner in
|
||||
// fbsql).
|
||||
func (m *Main) SetBasic() {
|
||||
m.basic = true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue