mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-03 20:02:54 +00:00
fix: print_anonymous_usage_data_disclaimer at wrong place (#2167)
This commit is contained in:
@@ -50,10 +50,11 @@ impl GreptimeDBTelemetryTask {
|
||||
}
|
||||
|
||||
pub fn start(&self, runtime: Runtime) -> Result<()> {
|
||||
print_anonymous_usage_data_disclaimer();
|
||||
|
||||
match self {
|
||||
GreptimeDBTelemetryTask::Enable(task) => task.start(runtime),
|
||||
GreptimeDBTelemetryTask::Enable(task) => {
|
||||
print_anonymous_usage_data_disclaimer();
|
||||
task.start(runtime)
|
||||
}
|
||||
GreptimeDBTelemetryTask::Disable => Ok(()),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user