@@ -57,32 +57,38 @@ type ReportOptions struct {
57
57
58
58
type defaultChecker struct {}
59
59
60
- func (defaultChecker )DERP (ctx context.Context ,opts * derphealth.ReportOptions ) (report derphealth.Report ) {
60
+ func (defaultChecker )DERP (ctx context.Context ,opts * derphealth.ReportOptions ) derphealth.Report {
61
+ var report derphealth.Report
61
62
report .Run (ctx ,opts )
62
63
return report
63
64
}
64
65
65
- func (defaultChecker )AccessURL (ctx context.Context ,opts * AccessURLReportOptions ) (report AccessURLReport ) {
66
+ func (defaultChecker )AccessURL (ctx context.Context ,opts * AccessURLReportOptions )AccessURLReport {
67
+ var report AccessURLReport
66
68
report .Run (ctx ,opts )
67
69
return report
68
70
}
69
71
70
- func (defaultChecker )Websocket (ctx context.Context ,opts * WebsocketReportOptions ) (report WebsocketReport ) {
72
+ func (defaultChecker )Websocket (ctx context.Context ,opts * WebsocketReportOptions )WebsocketReport {
73
+ var report WebsocketReport
71
74
report .Run (ctx ,opts )
72
75
return report
73
76
}
74
77
75
- func (defaultChecker )Database (ctx context.Context ,opts * DatabaseReportOptions ) (report DatabaseReport ) {
78
+ func (defaultChecker )Database (ctx context.Context ,opts * DatabaseReportOptions )DatabaseReport {
79
+ var report DatabaseReport
76
80
report .Run (ctx ,opts )
77
81
return report
78
82
}
79
83
80
- func (defaultChecker )WorkspaceProxy (ctx context.Context ,opts * WorkspaceProxyReportOptions ) (report WorkspaceProxyReport ) {
84
+ func (defaultChecker )WorkspaceProxy (ctx context.Context ,opts * WorkspaceProxyReportOptions )WorkspaceProxyReport {
85
+ var report WorkspaceProxyReport
81
86
report .Run (ctx ,opts )
82
87
return report
83
88
}
84
89
85
- func (defaultChecker )ProvisionerDaemons (ctx context.Context ,opts * ProvisionerDaemonsReportDeps ) (report ProvisionerDaemonsReport ) {
90
+ func (defaultChecker )ProvisionerDaemons (ctx context.Context ,opts * ProvisionerDaemonsReportDeps )ProvisionerDaemonsReport {
91
+ var report ProvisionerDaemonsReport
86
92
report .Run (ctx ,opts )
87
93
return report
88
94
}