mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
alter error output to satisfy test
This commit is contained in:
parent
9840ae67e4
commit
d02ba32743
1 changed files with 2 additions and 2 deletions
|
|
@ -496,7 +496,7 @@ func (m *Command) dailyCheck(end time.Time) {
|
|||
for range ticker.C {
|
||||
cur, err := m.ntpServerTime()
|
||||
if err != nil {
|
||||
errors.Wrap(err, "reading ntp server time")
|
||||
m.logger.Printf("reading ntp server time %v", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
|
@ -508,7 +508,7 @@ func (m *Command) dailyCheck(end time.Time) {
|
|||
os.Exit(0) //is 0 the right exit number?
|
||||
}
|
||||
}
|
||||
errors.Wrap(err, "reading ntp server time")
|
||||
m.logger.Printf("reading ntp server time %v", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue