File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ type Reporter interface {
99
99
// database. For example, if a new user is added, a snapshot can
100
100
// contain just that user entry.
101
101
Report (snapshot * Snapshot )
102
- // ReportDeployment sends deployment information to the telemetry server.
103
- ReportDeployment ()
104
102
Enabled () bool
105
103
Close ()
106
104
}
@@ -224,12 +222,6 @@ func (r *remoteReporter) reportWithDeployment() {
224
222
r .reportSync (snapshot )
225
223
}
226
224
227
- func (r * remoteReporter ) ReportDeployment () {
228
- if err := r .deployment (); err != nil {
229
- r .options .Logger .Debug (r .ctx , "failed to report deployment" , slog .Error (err ))
230
- }
231
- }
232
-
233
225
// deployment collects host information and reports it to the telemetry server.
234
226
func (r * remoteReporter ) deployment () error {
235
227
sysInfoHost , err := sysinfo .Host ()
@@ -1596,4 +1588,3 @@ type noopReporter struct{}
1596
1588
func (* noopReporter ) Report (_ * Snapshot ) {}
1597
1589
func (* noopReporter ) Enabled () bool { return false }
1598
1590
func (* noopReporter ) Close () {}
1599
- func (* noopReporter ) ReportDeployment () {}
You can’t perform that action at this time.
0 commit comments