all: Remove unused method receivers (#8462)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
parent
388e4db9cd
commit
755d21953f
@@ -266,7 +266,7 @@ func (r *Report) FieldPointers() []interface{} {
|
||||
}
|
||||
}
|
||||
|
||||
func (r *Report) FieldNames() []string {
|
||||
func (*Report) FieldNames() []string {
|
||||
// The database fields that back this struct in PostgreSQL
|
||||
return []string{
|
||||
// V1
|
||||
|
||||
@@ -195,7 +195,7 @@ func (h *failureHandler) CommitConfiguration(from, to config.Configuration) bool
|
||||
return true
|
||||
}
|
||||
|
||||
func (h *failureHandler) String() string {
|
||||
func (*failureHandler) String() string {
|
||||
return "FailureHandler"
|
||||
}
|
||||
|
||||
|
||||
@@ -328,7 +328,7 @@ func (s *Service) reportData(ctx context.Context, urVersion int, preview bool) (
|
||||
return report, nil
|
||||
}
|
||||
|
||||
func (s *Service) UptimeS() int {
|
||||
func (*Service) UptimeS() int {
|
||||
return int(time.Since(StartTime).Seconds())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user