mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-16 10:06:28 +08:00
ignore error
This commit is contained in:
parent
cfb28e2cdb
commit
ddff30793d
1 changed files with 1 additions and 4 deletions
|
@ -42,10 +42,7 @@ const trial_data_key = "trialdata"
|
|||
|
||||
// stores trial end date
|
||||
func initTrial() error {
|
||||
telData, err := logic.FetchTelemetryData()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
telData, _ := logic.FetchTelemetryData()
|
||||
if telData.Hosts > 0 || telData.Networks > 0 || telData.Users > 0 {
|
||||
return nil // database is already populated, so skip creating trial
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue