From ccecb7fba19a589f23624464e0b7c3f3dd5bb1e9 Mon Sep 17 00:00:00 2001 From: tgolang <154592711+tgolang@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:48:37 +0800 Subject: [PATCH] [chore] Remove repetitive words (#5265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Which problem is this PR solving? - ## Description of the changes - remove repetitive words ## How was this change tested? - ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` Signed-off-by: tgolang Co-authored-by: Yuri Shkuro --- plugin/sampling/strategystore/adaptive/options.go | 2 +- plugin/storage/cassandra/schema/create.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/sampling/strategystore/adaptive/options.go b/plugin/sampling/strategystore/adaptive/options.go index f1bc2eddc6a..64288632dbf 100644 --- a/plugin/sampling/strategystore/adaptive/options.go +++ b/plugin/sampling/strategystore/adaptive/options.go @@ -116,7 +116,7 @@ type Options struct { // AddFlags adds flags for Options func AddFlags(flagSet *flag.FlagSet) { flagSet.Float64(targetSamplesPerSecond, defaultTargetSamplesPerSecond, - "The the global target rate of samples per operation.", + "The global target rate of samples per operation.", ) flagSet.Float64(deltaTolerance, defaultDeltaTolerance, "The acceptable amount of deviation between the observed samples-per-second and the desired (target) samples-per-second, expressed as a ratio.", diff --git a/plugin/storage/cassandra/schema/create.sh b/plugin/storage/cassandra/schema/create.sh index f3a6aaa390f..b53c15b3708 100755 --- a/plugin/storage/cassandra/schema/create.sh +++ b/plugin/storage/cassandra/schema/create.sh @@ -12,7 +12,7 @@ function usage { >&2 echo " DEPENDENCIES_TTL - time to live for dependencies data, in seconds (default: 0, no TTL)" >&2 echo " KEYSPACE - keyspace (default: jaeger_v1_{datacenter})" >&2 echo " REPLICATION_FACTOR - replication factor for prod (default: 2 for prod, 1 for test)" - >&2 echo " VERSION - Cassandra backend version, 3 or 4 (default: 4). Ignored if template is is provided." + >&2 echo " VERSION - Cassandra backend version, 3 or 4 (default: 4). Ignored if template is provided." >&2 echo "" >&2 echo "The template-file argument must be fully qualified path to a v00#.cql.tmpl template file." >&2 echo "If omitted, the template file with the highest available version will be used."