From 0daf7ef024d02ade19ecabab08c98d36b433abc0 Mon Sep 17 00:00:00 2001 From: Andrew Grangaard Date: Mon, 8 Aug 2022 20:26:10 -0700 Subject: [PATCH] Fix spelling of "lose" --- cloudapi/config.go | 2 +- lib/helpers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudapi/config.go b/cloudapi/config.go index 1868d2e7833..84baf1f98e6 100644 --- a/cloudapi/config.go +++ b/cloudapi/config.go @@ -86,7 +86,7 @@ type Config struct { // since it could lead to a huge loss of granularity and the masking // of any outlier samples in the data. // - By default (since AggregationSkipOutlierDetection is not enabled), - // the collected HTTP trails will be checked for outliers, so we don't loose + // the collected HTTP trails will be checked for outliers, so we don't lose // granularity by accidentally aggregating them. That happens by finding // the "quartiles" (by default the 75th and 25th percentiles) in the // sub-bucket datapoints and using the inter-quartile range (IQR) to find diff --git a/lib/helpers.go b/lib/helpers.go index 59def8d4281..b08545c3a91 100644 --- a/lib/helpers.go +++ b/lib/helpers.go @@ -103,7 +103,7 @@ func GetEndOffset(steps []ExecutionStep) (lastStepOffset time.Duration, isFinal // ConcatErrors is a a helper function for joining error messages into a single // string. // -// TODO: use Go 2.0/xerrors style errors so we don't loose error type information and +// TODO: use Go 2.0/xerrors style errors so we don't lose error type information and // metadata. func ConcatErrors(errors []error, separator string) string { errStrings := make([]string, len(errors))