summaryrefslogtreecommitdiff
path: root/extendedstats/other.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-06-22 15:10:07 -0400
committerWill Hawkins <[email protected]>2022-06-22 15:10:07 -0400
commit0609b02f82321577ba80cd368c6085fd0442f3f7 (patch)
tree782f966243f9d2dbcd328837a2cdf9ce5c1f948b /extendedstats/other.go
parent8595ff279dc46e3f974661e29686af3de5e01026 (diff)
[Cleanup] Make long lines shorter and fix static fmt warnings
Besides running golines (for the first time in a while now that the tool supports generics), this commit removes punctuation and newlines from Errorf parameters -- something that gofmt does not like (I never knew!).
Diffstat (limited to 'extendedstats/other.go')
-rw-r--r--extendedstats/other.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/extendedstats/other.go b/extendedstats/other.go
index 960ee85..b4eae18 100644
--- a/extendedstats/other.go
+++ b/extendedstats/other.go
@@ -11,7 +11,7 @@ import (
type ExtendedStats struct{}
func (es *ExtendedStats) IncorporateConnectionStats(conn net.Conn) error {
- return fmt.Errorf("OOPS: IncorporateConnectionStats is not supported on this platform.")
+ return fmt.Errorf("OOPS: IncorporateConnectionStats is not supported on this platform")
}
func (es *ExtendedStats) Repr() string {